summaryrefslogtreecommitdiff
path: root/app/views/menu_items/index.html.erb
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-08-09 12:42:53 +0200
committerhukl <contact@smyck.org>2009-08-09 12:42:53 +0200
commit9e3f29257ffae63bffe4fb2023c7090cfe4a73fe (patch)
tree687187db9cb575045a56332899dc4688eeb52356 /app/views/menu_items/index.html.erb
parent4867b66ee84055a70fb3395634ae848a4a072668 (diff)
editing menu items now works to. also some minor changes
Diffstat (limited to 'app/views/menu_items/index.html.erb')
-rw-r--r--app/views/menu_items/index.html.erb9
1 files changed, 6 insertions, 3 deletions
diff --git a/app/views/menu_items/index.html.erb b/app/views/menu_items/index.html.erb
index db4a771..00a9b05 100644
--- a/app/views/menu_items/index.html.erb
+++ b/app/views/menu_items/index.html.erb
@@ -5,8 +5,11 @@
5 5
6<h1>Menu Items</h1> 6<h1>Menu Items</h1>
7 7
8<ul> 8<table>
9 <% @menu_items.each do |menu_item| %> 9 <% @menu_items.each do |menu_item| %>
10 <li><%= menu_item.title %></li> 10 <tr>
11 <td><%= menu_item.title %></td>
12 <td><%= link_to "Edit", edit_menu_item_path(menu_item) %></td>
13 </tr>
11 <% end %> 14 <% end %>
12</ul> \ No newline at end of file 15</table> \ No newline at end of file