1 <% set_title(t(".title")) %>
3 <%= render "sidebar_header", :title => t(".title") %>
5 <%= form_tag({ :controller => "export", :action => "finish" }, { :class => "export_form" }) do %>
6 <%= hidden_field_tag "format", "osm", :autocomplete => "off" %>
8 <div class='export_area_inputs text-center mb-3'>
9 <div class='export_boxy border border-secondary-subtle rounded bg-body-secondary' dir='ltr'>
10 <%= text_field_tag("maxlat", nil, :size => 10, :autocomplete => "off", :class => "form-control text-center mx-auto") %>
11 <div class="clearfix">
12 <%= text_field_tag("minlon", nil, :size => 10, :autocomplete => "off", :class => "form-control text-center my-2") %>
13 <%= text_field_tag("maxlon", nil, :size => 10, :autocomplete => "off", :class => "form-control text-center my-2") %>
15 <%= text_field_tag("minlat", nil, :size => 10, :autocomplete => "off", :class => "form-control text-center mx-auto") %>
17 <a id='drag_box' href="#"><%= t ".manually_select" %></a>
20 <h4><%= t ".licence" %></h4>
21 <p><%= t ".licence_details_html", :odbl_link => link_to(t(".odbl"), t(".odbl_url")) %></p>
23 <div id="export_osm_too_large">
24 <p class="alert alert-warning">
25 <%= t ".too_large.body" %>
29 <div id="export_commit">
30 <div class="mb-3 d-flex">
31 <%= submit_tag t(".export_button"), :class => "btn btn-primary mx-auto" %>
35 <p><%= t ".too_large.advice" %></p>
38 <dt><a id="export_overpass" href="https://overpass-api.de/api/map?bbox="><%= t ".too_large.overpass.title" %></a></dt>
39 <dd><%= t ".too_large.overpass.description" %></dd>
41 <dt><a href="https://planet.openstreetmap.org/"><%= t ".too_large.planet.title" %></a></dt>
42 <dd><%= t ".too_large.planet.description" %></dd>
44 <dt><a href="https://download.geofabrik.de/"><%= t ".too_large.geofabrik.title" %></a></dt>
45 <dd><%= t ".too_large.geofabrik.description" %></dd>
47 <dt><a href="https://wiki.openstreetmap.org/wiki/Download"><%= t ".too_large.other.title" %></a></dt>
48 <dd><%= t ".too_large.other.description" %></dd>