Sha256: 5fe440c8e511bca524264aa0b7f56a5f464d6120bfb6fedd9134592d9efb2dda

Contents?: true

Size: 1005 Bytes

Versions: 97

Compression:

Stored size: 1005 Bytes

Contents

<%= error_messages_for 'menu_item' %>

<!--[form:menu_item]-->

<table>
<tr><th>Name</th>
<td colspan="2"><%= text_field 'menu_item', 'name' %></td></tr>

<tr><th>Label</th>
<td colspan="2"><%= text_field 'menu_item', 'label' %></td></tr>

<tr><th>Controller Action<br/><strong>OR</strong> Content Page</th>
<td><%= collection_select 'menu_item', 'controller_action_id',
          @actions, :id, :fullname %></td>
<td>OR <%= collection_select 'menu_item', 'content_page_id',
          @pages, :id, :fullname %></td>
</tr>

<% if @can_change_parent -%>

<tr><th>Parent Menu Item</th>
<td colspan="2"></td>
</tr>
<tr><th></th>
<td colspan="2">
<table class="table_as_list">
<tr>
<td><%= radio_button :menu_item, :parent_id, ""  %></td>
<td>(root)</td>
</tr>
<%= render :partial => 'item_parent_list', :locals => {:items => @items,
    :depth => 0} %>
</table></td>
</tr>
<% end -%>
</table>

<% if not @can_change_parent -%>
<%= hidden_field :menu_item, :parent_id %>
<% end -%> 
<!--[eoform:menu_item]-->

Version data entries

97 entries across 97 versions & 2 rubygems

Version Path
six-updater-web-0.24.15 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/menu_items/_form.rhtml
six-updater-web-0.24.14 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/menu_items/_form.rhtml
six-updater-web-0.24.13 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/menu_items/_form.rhtml
six-updater-web-0.24.12 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/menu_items/_form.rhtml
six-updater-web-0.24.11 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/menu_items/_form.rhtml
six-updater-web-0.24.10 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/menu_items/_form.rhtml
six-updater-web-0.24.9 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/menu_items/_form.rhtml
six-updater-web-0.24.8 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/menu_items/_form.rhtml
six-updater-web-0.24.7 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/menu_items/_form.rhtml
six-updater-web-0.24.6 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/menu_items/_form.rhtml
six-updater-web-0.24.5 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/menu_items/_form.rhtml
six-updater-web-0.24.4 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/menu_items/_form.rhtml
six-updater-web-0.24.3 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/menu_items/_form.rhtml
six-updater-web-0.24.2 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/menu_items/_form.rhtml
six-updater-web-0.24.1 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/menu_items/_form.rhtml
six-updater-web-0.24.0 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/menu_items/_form.rhtml
six-updater-web-0.23.7 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/menu_items/_form.rhtml
six-updater-web-0.23.6 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/menu_items/_form.rhtml
six-updater-web-0.23.5 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/menu_items/_form.rhtml
six-updater-web-0.23.4 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/menu_items/_form.rhtml