]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_search.html.erb
Add an extra null pointer check that can trigger in tests
[rails.git] / app / views / site / _search.html.erb
index 0fea3793fa689c607804996d4e8e81e19b19f983..31b5af16f9f3a92aad912dc97b681ac0e32a2f33 100644 (file)
@@ -32,8 +32,8 @@
 
 <% content_for "optionals" do %>
   <div class="optionalbox">
 
 <% content_for "optionals" do %>
   <div class="optionalbox">
-    <span class="oboxheader"><%= t 'site.search.search' %></span>
     <span class="whereami"><a href="javascript:describeLocation()" title="<%= t 'site.search.where_am_i_title' %>"><%= t 'site.search.where_am_i' %></a></span>
     <span class="whereami"><a href="javascript:describeLocation()" title="<%= t 'site.search.where_am_i_title' %>"><%= t 'site.search.where_am_i' %></a></span>
+    <h1><%= t 'site.search.search' %></h1>
     <div class="search_form">
     <div id="search_field">
     <% form_remote_tag(:before => "setSearchViewbox()",
     <div class="search_form">
     <div id="search_field">
     <% form_remote_tag(:before => "setSearchViewbox()",