X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/681022443ea24c11d9aeedeb3e1ddc3789b8ffd5..f635b98b8cf58954266fcf7b40bd22d698fd8388:/app/views/site/export.html.erb
diff --git a/app/views/site/export.html.erb b/app/views/site/export.html.erb
index 0cabc0c2d..934b56a02 100644
--- a/app/views/site/export.html.erb
+++ b/app/views/site/export.html.erb
@@ -1,57 +1,50 @@
-<% content_for :head do %>
- <%= javascript_include_tag "index" %>
-<% end %>
+<% set_title(t(".title")) %>
-<% 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") %>
-
-
<%= t'export.start.manually_select' %>
-
+<%= render "sidebar_header", :title => t(".title") %>
-
-
<%= t'export.start.licence' %>
+<%= form_tag({ :controller => "export", :action => "finish" }, { :class => "export_form standard-form" }) do %>
+ <%= hidden_field_tag "format", "osm" %>
-
-
<%= raw t'export.start.export_details' %>
+
-
-
<%= t'export.start.too_large.heading' %>
+
<%= t ".licence" %>
+
<%= t ".export_details_html" %>
-
-
-
+
+ - <%= t ".too_large.overpass.title" %>
+ - <%= t ".too_large.overpass.description" %>
-
- <%= submit_tag t('export.start.export_button'), :id => "export_commit" %>
-
- <% end %>
-<% end %>
+ - <%= t ".too_large.planet.title" %>
+ - <%= t ".too_large.planet.description" %>
-<%= render :template => 'layouts/map' %>
+ - <%= t ".too_large.geofabrik.title" %>
+ - <%= t ".too_large.geofabrik.description" %>
+
+ - <%= t ".too_large.other.title" %>
+ - <%= t ".too_large.other.description" %>
+
+<% end %>