X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3d874a5d61b332cefe944b77cfa38a1061425d3f..c0bfc11d0320be65e57d12b35a50cc7001f10a9b:/app/views/export/start.html.erb diff --git a/app/views/export/start.html.erb b/app/views/export/start.html.erb index 539c6f448..0bc1ac5bb 100644 --- a/app/views/export/start.html.erb +++ b/app/views/export/start.html.erb @@ -1,78 +1,48 @@ -<%= form_tag :action => "finish" do %> +<%= form_tag :controller => "export", :action => "finish" do %> + <%= hidden_field_tag 'format', 'osm' %> -

<%= t'export.start.area_to_export' %>

- -
- <%= text_field_tag('maxlat', nil, :size => 10, :class => "export_bound") %> -
- <%= text_field_tag('minlon', nil, :size => 10, :class => "export_bound") %> - <%= text_field_tag('maxlon', nil, :size => 10, :class => "export_bound") %> -
- <%= text_field_tag('minlat', nil, :size => 10, :class => "export_bound") %> -

- <%= t'export.start.manually_select' %> -

-
- -

<%= t'export.start.format_to_export' %>

- -
-

- <%= radio_button_tag("format", "osm") %> <%= t'export.start.osm_xml_data' %> +

+
+ <%= text_field_tag('maxlat', nil, :size => 10, :class => "export_bound") %>
- <%= radio_button_tag("format", "mapnik") %> <%= t'export.start.map_image' %> + <%= text_field_tag('minlon', nil, :size => 10, :class => "export_bound") %> + <%= text_field_tag('maxlon', nil, :size => 10, :class => "export_bound") %>
- <%= radio_button_tag("format", "html") %> <%= t'export.start.embeddable_html' %> -

+ <%= text_field_tag('minlat', nil, :size => 10, :class => "export_bound") %> +
+ <%= t'export.start.manually_select' %>
-

<%= t'export.start.licence' %>

+

<%= t'export.start.licence' %>

-
+

<%= raw t'export.start.export_details' %>

-

<%= t'export.start.too_large.heading' %>

+

<%= t'export.start.too_large.heading' %>

-
+

<%= t'export.start.too_large.body' %>

-
-
-
+
+
<%= t'export.start.too_large.planet.title' %>
+
<%= t'export.start.too_large.planet.description' %>
-
-

<%= t'export.start.options' %>

+
<%= t'export.start.too_large.geofabrik.title' %>
+
<%= t'export.start.too_large.geofabrik.description' %>
-
-

<%= t'export.start.format' %> <%= select_tag("mapnik_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"], ["SVG", "svg"], ["PDF", "pdf"]], "png")) %>

-

<%= t'export.start.scale' %> 1 : <%= text_field_tag("mapnik_scale", nil, :size => 8) %> (<%= t'export.start.max' %> 1 : )

-

<%= t'export.start.image_size' %> x

-
-
- -
-

<%= t'export.start.options' %>

- -
-

<%= t'export.start.add_marker' %>

- -
- -

<%= t'export.start.output' %>

+
<%= t'export.start.too_large.metro.title' %>
+
<%= t'export.start.too_large.metro.description' %>
-
-

-

<%= t'export.start.paste_html' %>

+
<%= t'export.start.too_large.other.title' %>
+
<%= t'export.start.too_large.other.description' %>
+
+
-
-

<%= submit_tag t('export.start.export_button'), :id => "export_commit" %>

+
+ <%= submit_tag t('export.start.export_button'), :id => "export_commit" %>
- <% end %>