X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/1df50231faed168460a305be281355fd7e2a05c1..2f925b919718961b682e84dcca4fd53fed13b2c1:/app/views/export/_start.rhtml diff --git a/app/views/export/_start.rhtml b/app/views/export/_start.rhtml index 41fd790f2..3e6beaf55 100644 --- a/app/views/export/_start.rhtml +++ b/app/views/export/_start.rhtml @@ -1,55 +1,75 @@ -<% form_tag :action => 'next' do %> +<% form_tag :action => "finish" do %>

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") %> +

+ Drag a box with control held down to select an area to export +

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") %>OpenStreetMap XML Data +
+ <%= radio_button_tag("format", "mapnik") %>Mapnik Image +
+ <%= radio_button_tag("format", "osmarender") %>Osmarender Image +

Licence

-

OSM license agreement blah blah blah...

-
OpenStreetMap data is licensed under the Creative Commons Attribution-ShareAlike 2.0 license.

+

Options

-

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

+

Format <%= select_tag("mapnik_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"], ["SVG", "svg"], ["PDF", "pdf"], ["Postscript", "ps"]], "png")) %>

+

Scale 1 : <%= text_field_tag("mapnik_scale", nil, :size => 8) %> (max 1 : )

+
+

Options

+ +
+

Format <%= select_tag("osmarender_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"]], "png")) %>

+

Zoom <%= select_tag("osmarender_zoom", options_for_select([4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17])) %>

+
+
+ +
+

<%= submit_tag "Export", :id => "export_commit" %>

+
+ <% end %>