summaryrefslogtreecommitdiff
path: root/app/views/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/admin.html.erb17
1 files changed, 8 insertions, 9 deletions
diff --git a/app/views/layouts/admin.html.erb b/app/views/layouts/admin.html.erb
index 00d7075..61bb5c3 100644
--- a/app/views/layouts/admin.html.erb
+++ b/app/views/layouts/admin.html.erb
@@ -27,6 +27,14 @@
27 <div id="main_navigation"> 27 <div id="main_navigation">
28 <%= render :partial => 'admin/menu' if current_user %> 28 <%= render :partial => 'admin/menu' if current_user %>
29 </div> 29 </div>
30 <div id="search_widget" style="display: none;">
31 <div>
32 <%= form_tag admin_search_path, method: :get do %>
33 <span>Search: </span><%= text_field_tag :search_term, nil, autocomplete: "off" %>
34 <% end %>
35 </div>
36 <div id="menu_search_results" class="search_results" style="display: none"></div>
37 </div>
30 </div> 38 </div>
31 <div class="admin_content_spacer"></div> 39 <div class="admin_content_spacer"></div>
32 <% if flash[:notice].present? || flash[:error].present? %> 40 <% if flash[:notice].present? || flash[:error].present? %>
@@ -50,14 +58,5 @@
50 58
51 <div id="results"></div> 59 <div id="results"></div>
52 </div> 60 </div>
53
54 <div id="search_widget" style="display: none;">
55 <div>
56 <%= form_tag admin_search_path, method: :get do %>
57 <span>Search: </span><%= text_field_tag :search_term, nil, autocomplete: "off" %>
58 <% end %>
59 </div>
60 <div id="menu_search_results" class="search_results" style="display: none"></div>
61 </div>
62 </body> 61 </body>
63</html> 62</html>