Sha256: 894cf6efef22171c72ee90f79f0173c11918d720d9cadb00a6a8e20c0a099af7
Contents?: true
Size: 711 Bytes
Versions: 7
Compression:
Stored size: 711 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
7 entries across 7 versions & 1 rubygems