X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/860887de5272c3e2a39cb7e0c9db6f0acba1b4c6..85c284aaa6e9ba8488de9d488f17fda4cd565d9c:/app/views/site/export.html.erb diff --git a/app/views/site/export.html.erb b/app/views/site/export.html.erb index 9ac03e70d..bb66c665a 100644 --- a/app/views/site/export.html.erb +++ b/app/views/site/export.html.erb @@ -1,56 +1,50 @@ -<% set_title(t('export.title')) %> +<% set_title(t(".title")) %> -

- - <%= t 'export.title' %> -

+<%= render "sidebar_header", :title => t(".title") %> -<%= form_tag({:controller => "export", :action => "finish"}, :class => "export_form") do %> - <%= hidden_field_tag 'format', 'osm' %> +<%= form_tag({ :controller => "export", :action => "finish" }, { :class => "export_form" }) do %> + <%= hidden_field_tag "format", "osm", :autocomplete => "off" %>
-
- <%= 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") %> +
+ <%= text_field_tag("maxlat", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control mx-auto") %> +
+ <%= text_field_tag("minlon", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control my-2") %> + <%= text_field_tag("maxlon", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control my-2") %>
- <%= t'export.start.manually_select' %> + <%= text_field_tag("minlat", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control mx-auto") %> +
+ <%= t ".manually_select" %>
-

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

-

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

+

<%= t ".licence" %>

+

<%= t ".licence_details_html", :odbl_link => link_to(t(".odbl"), t(".odbl_url")) %>

-

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

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

-
- <%= submit_tag t('export.start.export_button') %> +
+ <%= submit_tag t(".export_button"), :class => "btn btn-primary mx-auto" %>
- -

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

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

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

+ +
+
<%= t ".too_large.overpass.title" %>
+
<%= t ".too_large.overpass.description" %>
-
<%= t'export.start.too_large.geofabrik.title' %>
-
<%= t'export.start.too_large.geofabrik.description' %>
+
<%= t ".too_large.planet.title" %>
+
<%= t ".too_large.planet.description" %>
-
<%= t'export.start.too_large.metro.title' %>
-
<%= t'export.start.too_large.metro.description' %>
+
<%= t ".too_large.geofabrik.title" %>
+
<%= t ".too_large.geofabrik.description" %>
-
<%= t'export.start.too_large.other.title' %>
-
<%= t'export.start.too_large.other.description' %>
+
<%= t ".too_large.other.title" %>
+
<%= t ".too_large.other.description" %>
<% end %>