Sha256: 3bd41891a2a88a8eb1430cc5e15ebb29117be9ab4a3216b90d472258cf9f422f

Contents?: true

Size: 1 KB

Versions: 4

Compression:

Stored size: 1 KB

Contents

.tn-tc-row{:style => ("display: none;" if f.object._destroy)}
  = f.hidden_field :item_method, value: field
  .tn-tc-topbar
    .actions
      %i.fa.fa-arrows.drag-anchor

      = link_to '#', class: 'tn-tc-open-library above', data: { modal_target: ".tenon-library", modal_closest: '.tn-tc', modal_title: "Insert Content", modal_handler: 'Tenon.features.tenonContent.Library', modal_clone: 'true', tooltip: '' }, title: 'Insert Content' do
        %i.fa.fa-fw.fa-plus-circle

      = link_to_remove_association(fa_icon('trash-o'), f, {'data-confirm' => 'Are you sure?', 'data-wrapper-class' => 'tn-tc-row'})

    .spacer

  .tn-tc-fields= render row_partial, f: f

  .tn-tc-bottombar
    .actions
      = link_to '#', class: 'tn-tc-open-library below', data: { modal_target: ".tenon-library", modal_closest: '.tn-tc', modal_title: "Insert Content", modal_handler: 'Tenon.features.tenonContent.Library', modal_clone: 'true', modal_closest: '.tn-tc', tooltip: ''}, title: 'Insert Content' do
        %i.fa.fa-fw.fa-plus-circle

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tenon-1.1.4 app/views/tenon/tenon_content/_row.html.haml
tenon-1.1.3 app/views/tenon/tenon_content/_row.html.haml
tenon-1.1.2 app/views/tenon/tenon_content/_row.html.haml
tenon-1.1.1 app/views/tenon/tenon_content/_row.html.haml