Sha256: 3619fc5c5ccc86a82642a8ac9e3b31bf0c95a4cb8498dafaba184c215acb4bf7
Contents?: true
Size: 1.46 KB
Versions: 5
Compression:
Stored size: 1.46 KB
Contents
<div class="content box"> <table> <thead> <tr><th colspan=3>Menu Properies</th></tr> </thead> <tbody> <tr><td class="label">URL: </td><td><%%= "#{menu.url}" %></td><td class="actions"><%%= link_to "Open in New Window", menu.url, :target => "_blank" %></td></tr> <%% unless menu.children.empty? %> <tr><td class="label">Children: </td><td colspan=2><%%= raw menu.children.collect{|i| link_to i.title, [:admin, i]}.join(", ") %></td></tr> <%% end %> <%% unless menu.root? %> <tr><td class="label">Root:</td><td><%%= link_to menu.root.title, [:admin, menu.root] %></td></tr> <%% end %> <%% unless menu.resource.nil? %> <tr><td class="label">Links to:</td><td><%%= menu.cable_menuable_type %> | <%%= link_to menu.resource.title, [:admin, menu.resource] %></td></tr> <%% end %> <tr> <td colspan=3 class="actions"> <%%= link_to "Show", [:admin,menu], :class => "button small" %> <%%= link_to "Edit Menu Properties", edit_admin_menu_path(menu), :class => "button small" %> <%%= link_to "Move", move_admin_menus_path(menu), :class => "button small" %> <%%# if menu.is_deletable? %> <%%= link_to "Destroy", [:admin, menu], :confirm => 'Are you sure? This will also remove associated category image!', :method => :delete, :class => "button small" %> <%%# end %> </td> </tr> </tbody> </table> </div>
Version data entries
5 entries across 5 versions & 1 rubygems