X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4cc2b63d5c38158e6beb114147be723425ec412e..f885cfe0f5f0602dd51e1734f8ce2eaf377b1614:/app/views/site/export.html.erb diff --git a/app/views/site/export.html.erb b/app/views/site/export.html.erb index 63afa3dd0..f1eed33cf 100644 --- a/app/views/site/export.html.erb +++ b/app/views/site/export.html.erb @@ -1,53 +1,53 @@ -<% content_for :sidebar do %> -

<%= t 'export.start_rjs.export' %>

- <%= form_tag :controller => "export", :action => "finish" do %> - <%= hidden_field_tag 'format', 'osm' %> - -
-
- <%= 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") %> +<% set_title(t(".title")) %> + +

+ + <%= t ".title" %> +

+ +<%= form_tag({ :controller => "export", :action => "finish" }, { :class => "export_form" }) do %> + <%= hidden_field_tag "format", "osm" %> + +
+
+ <%= 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 ".manually_select" %> +
-
-

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

+

<%= t ".licence" %>

+

<%= t ".export_details_html" %>

-
-

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

-
+
+

+ <%= t ".too_large.body" %> +

+
-
-

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

+
+
+ <%= submit_tag t(".export_button") %> +
-
-

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

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

<%= t ".too_large.advice" %>

+
-
<%= t'export.start.too_large.geofabrik.title' %>
-
<%= t'export.start.too_large.geofabrik.description' %>
+
+
<%= t ".too_large.overpass.title" %>
+
<%= t ".too_large.overpass.description" %>
-
<%= t'export.start.too_large.metro.title' %>
-
<%= t'export.start.too_large.metro.description' %>
+
<%= t ".too_large.planet.title" %>
+
<%= t ".too_large.planet.description" %>
-
<%= t'export.start.too_large.other.title' %>
-
<%= t'export.start.too_large.other.description' %>
-
-
-
-
+
<%= t ".too_large.geofabrik.title" %>
+
<%= t ".too_large.geofabrik.description" %>
-
- <%= submit_tag t('export.start.export_button'), :id => "export_commit" %> -
- <% end %> +
<%= t ".too_large.other.title" %>
+
<%= t ".too_large.other.description" %>
+ <% end %> - -<%= render :template => 'layouts/map' %>