Sha256: 923866a14d4dcc227296012a6e46214b72f657255d0f21f14e629c967da0a56a
Contents?: true
Size: 1.1 KB
Versions: 2
Compression:
Stored size: 1.1 KB
Contents
<%= fields_for "menu[links_attributes][#{menu_link.id}]", menu_link do |f| %> <li class='pp-link clearfix record' id="<%= dom_id(menu_link)%>"> <div class='header'> <div class='name'><%= menu_link.label %></div> <div class='type'><%= menu_link.type_name %></div> <span class='arrow'> </span> </div> <div class='body'> <%= f.hidden_field :id %> <% if f.object.custom_link? %> <%= render partial: "refinery/menus/admin/menu_links/custom_link", object: menu_link, locals: {f: f} %> <% else %> <%= render partial: "refinery/menus/admin/menu_links/resource_link", object: menu_link, locals: {f: f} %> <% end %> <%= link_to t('remove', :scope => 'refinery.menus.admin.menu_links'), refinery.menus_admin_menu_link_path(menu_link), method: :delete, remote: true, class: 'remove' %> </div> <ul class='nested'> <% menu_link.children.each do |child| %> <%= render partial: 'refinery/menus/admin/menu_links/menu_link', object: child %> <% end %> </ul> </li> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-menus-2.0.7 | app/views/refinery/menus/admin/menu_links/_menu_link.html.erb |
refinerycms-menus-2.0.6 | app/views/refinery/menus/admin/menu_links/_menu_link.html.erb |