Sha256: 3f5a75c311b43ea97f21ab0dcb5a9a362570d1c3663e02aa005f5701fafab2ae

Contents?: true

Size: 922 Bytes

Versions: 10

Compression:

Stored size: 922 Bytes

Contents

.modal.modal-large
  %header
    = link_to "", "#", class: 'close_modal', data: {dismiss: 'modal', icon: 'm'}
    %h3= t('spina.attachments.insert_multiple')

  %section
    = form_tag spina.insert_collection_admin_attachments_path(params[:page_part_id]), remote: true, class: 'document-select' do
      .table-container
        %table.table.table-clickable-tr{style: 'margin-top: 0'}
          - @attachments.each do |attachment|
            %tr
              %td
                .form-checkbox
                  = check_box_tag 'attachment_ids[]', attachment.id, attachment.id.in?(@selected_attachment_ids), id: "attachment_id_#{attachment.id}"
                  = label_tag "attachment_id_#{attachment.id}", attachment.name
      %footer
        = link_to t('spina.cancel'), "#", data: {dismiss: 'modal'}
        = button_tag t('spina.attachments.insert_multiple'), type: 'submit', class: 'primary', data: {icon: 't '}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
spina-1.2.0 app/views/spina/admin/attachments/_select_collection.html.haml
spina-1.1.4 app/views/spina/admin/attachments/_select_collection.html.haml
spina-1.1.3 app/views/spina/admin/attachments/_select_collection.html.haml
spina-1.1.2 app/views/spina/admin/attachments/_select_collection.html.haml
spina-1.1.1 app/views/spina/admin/attachments/_select_collection.html.haml
spina-1.1.0 app/views/spina/admin/attachments/_select_collection.html.haml
spina-1.0.3 app/views/spina/admin/attachments/_select_collection.html.haml
spina-1.0.2 app/views/spina/admin/attachments/_select_collection.html.haml
spina-1.0.1 app/views/spina/admin/attachments/_select_collection.html.haml
spina-1.0.0 app/views/spina/admin/attachments/_select_collection.html.haml