diff options
Diffstat (limited to 'app/views/menu_items/new.html.erb')
| -rw-r--r-- | app/views/menu_items/new.html.erb | 42 |
1 files changed, 15 insertions, 27 deletions
diff --git a/app/views/menu_items/new.html.erb b/app/views/menu_items/new.html.erb index 68081d0..8957293 100644 --- a/app/views/menu_items/new.html.erb +++ b/app/views/menu_items/new.html.erb | |||
| @@ -1,32 +1,20 @@ | |||
| 1 | <h1>Add Menu Item</h1> | 1 | <h1>Add Menu Item</h1> |
| 2 | 2 | ||
| 3 | <%= form_for @menu_item do |f| %> | 3 | <%= form_for @menu_item do |f| %> |
| 4 | <table> | 4 | <div class="node_description">Search</div> |
| 5 | 5 | <div class="node_content"> | |
| 6 | <tr> | 6 | <%= text_field_tag :menu_search_term %> |
| 7 | <td class="description">Search</td> | 7 | <div id="menu_item_search_results" class="search_results"></div> |
| 8 | <td> | 8 | </div> |
| 9 | <%= text_field_tag :menu_search_term %> | ||
| 10 | <div id="search_results"> | ||
| 11 | 9 | ||
| 12 | </div> | 10 | <div class="node_description">Node Id</div> |
| 13 | </td> | 11 | <div class="node_content"><%= f.text_field :node_id %></div> |
| 14 | </tr> | 12 | |
| 15 | <tr> | 13 | <div class="node_description">Path</div> |
| 16 | <td class="description">Node Id</td> | 14 | <div class="node_content"><%= f.text_field :path %></div> |
| 17 | <td><%= f.text_field :node_id %></td> | 15 | |
| 18 | </tr> | 16 | <div class="node_description">Title</div> |
| 19 | <tr> | 17 | <div class="node_content"><%= f.text_field :title %></div> |
| 20 | <td class="description">Path</td> | 18 | |
| 21 | <td><%= f.text_field :path %></td> | 19 | <div class="node_content"><%= f.submit 'Create' %></div> |
| 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 'Create' %></td> | ||
| 30 | </tr> | ||
| 31 | </table> | ||
| 32 | <% end %> | 20 | <% end %> |
