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/edit.html.erb | |
| parent | 4867b66ee84055a70fb3395634ae848a4a072668 (diff) | |
editing menu items now works to. also some minor changes
Diffstat (limited to 'app/views/menu_items/edit.html.erb')
| -rw-r--r-- | app/views/menu_items/edit.html.erb | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/app/views/menu_items/edit.html.erb b/app/views/menu_items/edit.html.erb index 0720571..9ea0fcc 100644 --- a/app/views/menu_items/edit.html.erb +++ b/app/views/menu_items/edit.html.erb | |||
| @@ -1,2 +1,32 @@ | |||
| 1 | <h1>MenuItems#edit</h1> | 1 | <h1>Edit Menu Item</h1> |
| 2 | <p>Find me in app/views/menu_items/edit.html.erb</p> | 2 | |
| 3 | <% form_for @menu_item do |f| %> | ||
| 4 | <table> | ||
| 5 | |||
| 6 | <tr> | ||
| 7 | <td class="description">Search</td> | ||
| 8 | <td> | ||
| 9 | <%= text_field_tag :menu_search_term %> | ||
| 10 | <div id="search_results"> | ||
| 11 | |||
| 12 | </div> | ||
| 13 | </td> | ||
| 14 | </tr> | ||
| 15 | <tr> | ||
| 16 | <td class="description">Node Id</td> | ||
| 17 | <td><%= f.text_field :node_id %></td> | ||
| 18 | </tr> | ||
| 19 | <tr> | ||
| 20 | <td class="description">Path</td> | ||
| 21 | <td><%= f.text_field :path %></td> | ||
| 22 | </tr> | ||
| 23 | <tr> | ||
| 24 | <td class="description">Title</td> | ||
| 25 | <td><%= f.text_field :title %></td> | ||
| 26 | </tr> | ||
| 27 | <tr> | ||
| 28 | <td></td> | ||
| 29 | <td class="right"><%= f.submit 'Update' %></td> | ||
| 30 | </tr> | ||
| 31 | </table> | ||
| 32 | <% end %> \ No newline at end of file | ||
