diff options
Diffstat (limited to 'app/views/menu_items/edit.html.erb')
| -rw-r--r-- | app/views/menu_items/edit.html.erb | 51 |
1 files changed, 22 insertions, 29 deletions
diff --git a/app/views/menu_items/edit.html.erb b/app/views/menu_items/edit.html.erb index 9891708..44e5a79 100644 --- a/app/views/menu_items/edit.html.erb +++ b/app/views/menu_items/edit.html.erb | |||
| @@ -1,32 +1,25 @@ | |||
| 1 | <h1>Edit Menu Item</h1> | 1 | <h1>Edit Menu Item</h1> |
| 2 | 2 | ||
| 3 | <%= form_for @menu_item do |f| %> | 3 | <div id="page_editor"> |
| 4 | <table> | 4 | <%= form_for @menu_item do |f| %> |
| 5 | 5 | <div id="content"> | |
| 6 | <tr> | 6 | <div class="node_description">Search</div> |
| 7 | <td class="description">Search</td> | 7 | <div class="node_content"> |
| 8 | <td> | 8 | <%= text_field_tag :menu_search_term %> |
| 9 | <%= text_field_tag :menu_search_term %> | 9 | <div id="menu_item_search_results" class="search_results"></div> |
| 10 | <div id="search_results"> | 10 | </div> |
| 11 | 11 | ||
| 12 | </div> | 12 | <div class="node_description">Node Id</div> |
| 13 | </td> | 13 | <div class="node_content"><%= f.text_field :node_id %></div> |
| 14 | </tr> | 14 | |
| 15 | <tr> | 15 | <div class="node_description">Path</div> |
| 16 | <td class="description">Node Id</td> | 16 | <div class="node_content"><%= f.text_field :path %></div> |
| 17 | <td><%= f.text_field :node_id %></td> | 17 | |
| 18 | </tr> | 18 | <div class="node_description">Title</div> |
| 19 | <tr> | 19 | <div class="node_content"><%= f.text_field :title %></div> |
| 20 | <td class="description">Path</td> | 20 | |
| 21 | <td><%= f.text_field :path %></td> | 21 | <div class="node_description"></div> |
| 22 | </tr> | 22 | <div class="node_content"><%= f.submit 'Update' %></div> |
| 23 | <tr> | 23 | <% end %> |
| 24 | <td class="description">Title</td> | 24 | </div> |
| 25 | <td><%= f.text_field :title %></td> | 25 | </div> |
| 26 | </tr> | ||
| 27 | <tr> | ||
| 28 | <td></td> | ||
| 29 | <td class="right"><%= f.submit 'Update' %></td> | ||
| 30 | </tr> | ||
| 31 | </table> | ||
| 32 | <% end %> | ||
