X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/38cfc35eb200e396015e18fbdfcaaaa97abcd571..d66ad4a4555c6ae9cb7257f53e2df375e5c4c73f:/app/views/site/export.html.erb?ds=inline diff --git a/app/views/site/export.html.erb b/app/views/site/export.html.erb index 84e3b1736..d6db3908b 100644 --- a/app/views/site/export.html.erb +++ b/app/views/site/export.html.erb @@ -1,53 +1,50 @@ -<% set_title(t('.title')) %> +<% 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' %> +<%= form_tag({ :controller => "export", :action => "finish" }, { :class => "export_form" }) 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") %> + <%= text_field_tag("maxlat", nil, :size => 10, :class => "export_bound form-control mx-auto") %> +
+ <%= text_field_tag("minlon", nil, :size => 10, :class => "export_bound form-control") %> + <%= text_field_tag("maxlon", nil, :size => 10, :class => "export_bound form-control") %>
- <%= t '.manually_select' %> + <%= text_field_tag("minlat", nil, :size => 10, :class => "export_bound form-control mx-auto") %> +
+ <%= t ".manually_select" %>
-

<%= t '.licence' %>

-

<%= raw t '.export_details' %>

+

<%= t ".licence" %>

+

<%= t ".export_details_html" %>

-

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

+ <%= 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' %>
+
<%= t ".too_large.overpass.title" %>
+
<%= t ".too_large.overpass.description" %>
-
<%= t '.too_large.planet.title' %>
-
<%= t '.too_large.planet.description' %>
+
<%= t ".too_large.planet.title" %>
+
<%= t ".too_large.planet.description" %>
-
<%= t '.too_large.geofabrik.title' %>
-
<%= t '.too_large.geofabrik.description' %>
+
<%= t ".too_large.geofabrik.title" %>
+
<%= t ".too_large.geofabrik.description" %>
-
<%= t '.too_large.other.title' %>
-
<%= t '.too_large.other.description' %>
+
<%= t ".too_large.other.title" %>
+
<%= t ".too_large.other.description" %>
<% end %>