Sha256: b529c1531f9dfbed2613eaa226827c786486519823f16c6515bd3f4704ddb4a6

Contents?: true

Size: 685 Bytes

Versions: 1

Compression:

Stored size: 685 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: 'para/admin/resources/tree_item', collection: root.children.ordered, as: :root
    

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
para-0.4.0 app/views/para/admin/resources/_tree_item.html.haml