Sha256: c72c499089bc8ca6c6356d9e6b4b086ce494c3c56582f5eb58ebfdd347a3900c
Contents?: true
Size: 721 Bytes
Versions: 1
Compression:
Stored size: 721 Bytes
Contents
<% current ||= nil %> <li <%= raw "class='#{page_listing_item_classes(page, current).join(' ')}'"%>> <%= link_to page.title, edit_page_path(page)%> <div class="mo"> <%= button_to '', page_path(page), method: :delete, class: "ico-mini-delete", title: t('.destroy') %> <%= button_to page_path(page), method: :put, class: "ico-mini-show-hide", title: (page.draft ? t('.show') : t('.hide')) do %> <% fields_for page do |f| %> <%= f.hidden_field :draft, value: (page.draft ? "0" : "1") %> <% end %> <% end %> </div> <%= render partial: 'page_listing_item', collection: page.children, as: 'page', layout: 'page_listing', locals: { current: current } unless page.children.blank? %> </li>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nocms-admin-pages-0.0.1 | app/views/no_cms/admin/pages/pages/_page_listing_item.html.erb |