Sha256: d0fb1dcf690184ec90b287cb541ccb81e752670e033c81b8ab4c31a1c0d62079
Contents?: true
Size: 715 Bytes
Versions: 2
Compression:
Stored size: 715 Bytes
Contents
%li.node{ data: { id: root.id } } .node-row %span.handle %i.fa.fa-bars.fa-fw %span.node-name = root.name .pull-right.btn-group = link_to @component.relation_path(root, action: :edit, return_to: request.fullpath), class: "btn btn-primary" do %i.fa.fa-pencil = link_to @component.relation_path(root), method: :delete, data: { confirm: I18n.t('para.list.delete_confirmation') }, class: 'btn btn-danger' do %i.fa.fa-trash .clearfix %ul.tree %li.placeholder{ class: "#{ 'hidden' unless needs_placeholder?(root) }"} = render partial: find_partial_for(model, 'tree_item'), collection: root.children.ordered, as: :root, locals: { model: model }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
para-0.5.1 | app/views/para/admin/resources/_tree_item.html.haml |
para-0.5.0 | app/views/para/admin/resources/_tree_item.html.haml |