summaryrefslogtreecommitdiff
path: root/app/views/menu_items
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-08-08 22:38:48 +0200
committerhukl <contact@smyck.org>2009-08-08 22:38:48 +0200
commit46117a9f103e2d547be2a47724e872b3f57ce983 (patch)
tree3360a066676ecf776f62212912abcec4965bdf27 /app/views/menu_items
parent4f249507da36f219b208f88e4dea5a5cd90ca254 (diff)
lots of new code to manage menu items - harder than expected :/
Diffstat (limited to 'app/views/menu_items')
-rw-r--r--app/views/menu_items/index.html.erb13
1 files changed, 12 insertions, 1 deletions
diff --git a/app/views/menu_items/index.html.erb b/app/views/menu_items/index.html.erb
index 05cc530..d2ff10e 100644
--- a/app/views/menu_items/index.html.erb
+++ b/app/views/menu_items/index.html.erb
@@ -4,4 +4,15 @@
4 <% @menu_items.each do |menu_item| %> 4 <% @menu_items.each do |menu_item| %>
5 <li><%= menu_item.title %></li> 5 <li><%= menu_item.title %></li>
6 <% end %> 6 <% end %>
7</ul> \ No newline at end of file 7</ul>
8
9<div id="menu_item_search">
10 <div>
11 <% form_tag admin_search_path do %>
12 <span>Add menu item: </span><%= text_field_tag :search_term %>
13 <% end %>
14 </div>
15 <div id="search_results">
16
17 </div>
18</div> \ No newline at end of file