X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/50091893d44ecfc48c13bb2269f23a6f23aea1d2..c8f6d6df0f2d7ad15de4833e855701b05d1dde5e:/app/views/site/export.html.erb diff --git a/app/views/site/export.html.erb b/app/views/site/export.html.erb index 7bd4273a3..a314cb151 100644 --- a/app/views/site/export.html.erb +++ b/app/views/site/export.html.erb @@ -1,43 +1,40 @@ <% 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" %>

<%= t ".licence" %>

-

<%= raw t ".export_details" %>

+

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

-

+

<%= 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" %>