-<%= form_tag :action => "finish" do %>
-
- <h4><%= t'export.start.area_to_export' %></h4>
+<%= form_tag :controller => "export", :action => "finish" do %>
+ <%= hidden_field_tag 'format', 'osm' %>
<div class="export_bounds inner12">
<div class='export_area_inputs'>
<a id="drag_box" class='export_hint button' href="#"><%= t'export.start.manually_select' %></a>
</div>
- <h4><%= t'export.start.format_to_export' %></h4>
-
- <ul class="export_details inner12">
- <li><%= radio_button_tag("format", "osm") %> <%= t'export.start.osm_xml_data' %></li>
- <li><%= radio_button_tag("format", "mapnik") %> <%= t'export.start.map_image' %></li>
- <li><%= radio_button_tag("format", "html") %> <%= t'export.start.embeddable_html' %></li>
- </ul>
-
<div id="export_osm">
<h4><%= t'export.start.licence' %></h4>
<div class="export_details inner12">
<p><%= t'export.start.too_large.body' %></p>
- </div>
- </div>
- </div>
-
- <div id="export_mapnik">
- <h4><%= t'export.start.options' %></h4>
-
- <ul class="export_details inner12">
- <li><%= t'export.start.format' %> <%= select_tag("mapnik_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"], ["SVG", "svg"], ["PDF", "pdf"]], "png")) %></li>
- <li><%= t'export.start.scale' %> 1 : <%= text_field_tag("mapnik_scale", nil) %> <p class="deemphasize export_hint">(<%= t'export.start.max' %> 1 : <span id="mapnik_max_scale"></span>)</p></li>
- <li><%= t'export.start.image_size' %> <span id="mapnik_image_width"></span> x <span id="mapnik_image_height"></span></li>
- </ul>
- </div>
-
- <div id="export_html">
- <h4><%= t'export.start.options' %></h4>
+ <dl>
+ <dt><a href="http://planet.openstreetmap.org/"><%= t'export.start.too_large.planet.title' %></a></dt>
+ <dd><%= t'export.start.too_large.planet.description' %></dd>
- <div class="export_details inner12">
- <ul id="marker_inputs" style="display:none">
- <li><%= t'export.start.latitude' %> <input type="text" id="marker_lat"/></li>
- <li><%= t'export.start.longitude' %> <input type="text" id="marker_lon"/></li>
- </ul>
- <a id="add_marker" class='button' href="#"><%= t'export.start.add_marker' %></a>
- </div>
+ <dt><a href="http://download.geofabrik.de/"><%= t'export.start.too_large.geofabrik.title' %></a></dt>
+ <dd><%= t'export.start.too_large.geofabrik.description' %></dd>
- <h4><%= t'export.start.output' %></h4>
+ <dt><a href="http://metro.teczno.com/"><%= t'export.start.too_large.metro.title' %></a></dt>
+ <dd><%= t'export.start.too_large.metro.description' %></dd>
- <div class="export_details inner12">
- <input type="text" id="export_html_text"/>
- <p class='deemphasize'><%= t'export.start.paste_html' %></p>
+ <dt><a href="http://wiki.openstreetmap.org/wiki/Download"><%= t'export.start.too_large.other.title' %></a></dt>
+ <dd><%= t'export.start.too_large.other.description' %></dd>
+ </dl>
+ </div>
</div>
</div>
- <%= submit_tag t('export.start.export_button'), :id => "export_commit" %>
-
+ <div class="inner12">
+ <%= submit_tag t('export.start.export_button'), :id => "export_commit" %>
+ </div>
<% end %>