<% end %>
<% end %>
+<% content_for :header do %>
+ <%= render :partial => "layouts/search", :locals => { :autofocus => false } %>
+<% end %>
+
<% content_for :content do %>
<div id="sidebar">
- <%= render :partial => "layouts/search" %>
+ <%= render :partial => "layouts/search", :locals => { :autofocus => true } %>
<% if STATUS == :database_offline or STATUS == :api_offline %>
<p class="error"><%= t 'layouts.osm_offline' %></p>
</div>
<div id="attribution">
- <table width="100%">
+ <table>
<tr>
<td class="attribution_license"><%= t 'site.index.license.license_url' %></td>
<td class="attribution_project"><%= t 'site.index.license.project_url' %></td>