diff options
| author | hukl <contact@smyck.org> | 2009-08-09 12:42:53 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-08-09 12:42:53 +0200 |
| commit | 9e3f29257ffae63bffe4fb2023c7090cfe4a73fe (patch) | |
| tree | 687187db9cb575045a56332899dc4688eeb52356 /app/views/menu_items/index.html.erb | |
| parent | 4867b66ee84055a70fb3395634ae848a4a072668 (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.erb | 9 |
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 |
