1 <% content_for :content do %>
3 <%= form_tag url_for(:controller => :geocoder, :action => :search), :id => "search_form" do %>
4 <%= submit_tag t('site.search.submit_text') %>
5 <div id='query_wrapper'>
6 <%= text_field_tag :query, params[:query],
7 :placeholder => t('site.search.search'),
8 :autofocus => "autofocus" %>
12 <div id="sidebar_content">
13 <% if STATUS == :database_offline or STATUS == :api_offline %>
14 <p class="alert"><%= t 'layouts.osm_offline' %></p>
15 <% elsif STATUS == :database_readonly or STATUS == :api_readonly %>
16 <p class="alert"><%= t 'layouts.osm_read_only' %></p>
19 <%= content_for :sidebar %>
25 <p><%= t 'site.index.js_1' %></p>
26 <p><%= t 'site.index.js_2' %></p>
33 <div id="map" tabindex="2">
36 <div id="attribution">
39 <td class="attribution_license"><%= t 'site.index.license.license_url' %></td>
40 <td class="attribution_project"><%= t 'site.index.license.project_url' %></td>
43 <td colspan="2" class="attribution_notice"><%= t 'site.index.license.copyright' %></td>