1 <%= form_tag :action => "finish" do %>
3 <h4><%= t'export.start.area_to_export' %></h4>
5 <div class="export_bounds inner12">
6 <div class='export_area_inputs'>
7 <%= text_field_tag('maxlat', nil, :size => 10, :class => "export_bound") %>
9 <%= text_field_tag('minlon', nil, :size => 10, :class => "export_bound") %>
10 <%= text_field_tag('maxlon', nil, :size => 10, :class => "export_bound") %>
12 <%= text_field_tag('minlat', nil, :size => 10, :class => "export_bound") %>
14 <a id="drag_box" class='export_hint button' href="#"><%= t'export.start.manually_select' %></a>
17 <h4><%= t'export.start.format_to_export' %></h4>
19 <ul class="export_details inner12">
20 <li><%= radio_button_tag("format", "osm") %> <%= t'export.start.osm_xml_data' %></li>
21 <li><%= radio_button_tag("format", "mapnik") %> <%= t'export.start.map_image' %></li>
22 <li><%= radio_button_tag("format", "html") %> <%= t'export.start.embeddable_html' %></li>
26 <h4><%= t'export.start.licence' %></h4>
28 <div class="export_details inner12">
29 <p><%= raw t'export.start.export_details' %></p>
32 <div id="export_osm_too_large">
33 <h4><%= t'export.start.too_large.heading' %></h4>
35 <div class="export_details inner12">
36 <p><%= t'export.start.too_large.body' %></p>
41 <div id="export_mapnik">
42 <h4><%= t'export.start.options' %></h4>
44 <ul class="export_details inner12">
45 <li><%= t'export.start.format' %> <%= select_tag("mapnik_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"], ["SVG", "svg"], ["PDF", "pdf"]], "png")) %></li>
46 <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>
47 <li><%= t'export.start.image_size' %> <span id="mapnik_image_width"></span> x <span id="mapnik_image_height"></span></li>
51 <div id="export_html">
52 <h4><%= t'export.start.options' %></h4>
54 <div class="export_details inner12">
55 <ul id="marker_inputs" style="display:none">
56 <li><%= t'export.start.latitude' %> <input type="text" id="marker_lat"/></li>
57 <li><%= t'export.start.longitude' %> <input type="text" id="marker_lon"/></li>
59 <a id="add_marker" class='button' href="#"><%= t'export.start.add_marker' %></a>
62 <h4><%= t'export.start.output' %></h4>
64 <div class="export_details inner12">
65 <input type="text" id="export_html_text"/>
66 <p class='deemphasize'><%= t'export.start.paste_html' %></p>
71 <%= submit_tag t('export.start.export_button'), :id => "export_commit" %>