X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f1c0834c5cd5ddfa3d79d24b200e995597fe11f4..168036d3a20157702eb9b4f964ddf56366086c82:/app/views/export/_start.rhtml?ds=sidebyside diff --git a/app/views/export/_start.rhtml b/app/views/export/_start.rhtml index 08306e13c..9e3d64783 100644 --- a/app/views/export/_start.rhtml +++ b/app/views/export/_start.rhtml @@ -1,123 +1,79 @@ -<% form_tag :action => 'next' do %> +<% form_tag :action => "finish" do %> -

Area to Export

+

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

- <%= text_field('export', 'maxlat', { :size => 10, :class => "export_bound" }) %> + <%= text_field_tag('maxlat', nil, :size => 10, :class => "export_bound") %>
- <%= text_field('export', 'minlon', { :size => 10, :class => "export_bound" }) %> - <%= text_field('export', 'maxlon', { :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('export', 'minlat', { :size => 10, :class => "export_bound" }) %> + <%= text_field_tag('minlat', nil, :size => 10, :class => "export_bound") %> +

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

-

Format to Export

+

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

- <%= radio_button('export', 'format', 'osm' ) %>OpenStreetMap XML Data -
- <%= radio_button('export', 'format', 'png' ) %>PNG Image -
- <%= radio_button('export', 'format', 'pdf' ) %>PDF Document -
- <%= radio_button('export', 'format', 'svg' ) %>SVG Document +

+ <%= radio_button_tag("format", "osm") %> <%= t'export.start.osm_xml_data' %> +
+ <%= radio_button_tag("format", "mapnik") %> <%= t'export.start.mapnik_image' %> +
+ <%= radio_button_tag("format", "osmarender") %> <%= t'export.start.osmarender_image' %> +
+ <%= radio_button_tag("format", "html") %> <%= t'export.start.embeddable_html' %> +

-

Licence

+

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

-

OSM license agreement blah blah blah...

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

+
-

Options

+

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

-

Scale 1 : <%= text_field('export', 'mapnik_scale', { :size => 10 }) %>

+

<%= t'export.start.format' %> <%= select_tag("mapnik_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"], ["SVG", "svg"], ["PDF", "pdf"], ["Postscript", "ps"]], "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

-<% end %> - - +<% end %>