X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a01195f1497b4f4c6b7d019c7affc794d41101cd..b2a82f501dd50603b2d87661c48924e440453fa9:/app/views/site/export.html.erb
diff --git a/app/views/site/export.html.erb b/app/views/site/export.html.erb
index 150541f00..6a2131e90 100644
--- a/app/views/site/export.html.erb
+++ b/app/views/site/export.html.erb
@@ -1,57 +1,47 @@
-<% content_for :head do %>
- <%= javascript_include_tag "index" %>
-<% end %>
-
-<% content_for :sidebar do %>
-
-
- <%= 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_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") %>
+
<%= t'export.start.manually_select' %>
+
-
-
<%= t'export.start.licence' %>
+
+
<%= t'export.start.licence' %><%= raw t'export.start.export_details' %>
+
-
<%= raw t'export.start.export_details' %>
-
+
<%= 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' %>
-
+
-
- <%= submit_tag t('export.start.export_button'), :id => "export_commit" %>
-
- <% end %>
+
+ <%= submit_tag t('export.start.export_button'), :id => "export_commit" %>
+
<% end %>
-
-<%= render :template => 'layouts/map' %>