X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3666b674330ec8d14a224932a191d6121c5974e2..a566589c1becb18ad2d12623d0ff240ea279d8e6:/app/views/site/export.html.erb diff --git a/app/views/site/export.html.erb b/app/views/site/export.html.erb index f1eed33cf..b3a3bd0e9 100644 --- a/app/views/site/export.html.erb +++ b/app/views/site/export.html.erb @@ -1,21 +1,18 @@ <% set_title(t(".title")) %> -

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

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

<%= t ".export_details_html" %>

-

+

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

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

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

-
+

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

+ +
<%= t ".too_large.overpass.title" %>
<%= t ".too_large.overpass.description" %>