.item
= content_tag("h#{level > 6 ? 6 : level}", class: 'item-title') do = link_to object.title, url(:pages, :edit, id: object.id) p.item-path = object.path ul.item-actions - unless object.post? li.item-action = link_to('Add Child', url(:pages, :new, parent: object.id), class: 'icon action-page-new', title: 'Add Child') li.item-action = link_to('Delete', url(:pages, :confirm_destroy, id: object.id), class: 'icon action-page-delete', title: 'Delete')