Sha256: 0f339aed474fe0970256bbe0ed168a0bf45f586d246625b6f603cdba0c810988

Contents?: true

Size: 935 Bytes

Versions: 2

Compression:

Stored size: 935 Bytes

Contents

.modal.modal-large
  %header
    = link_to "", "#", class: 'close_modal', data: {dismiss: 'modal', icon: 'm'}
    %h3 Documenten invoegen

  %section
    -# = form_for [spina, :admin, @attachment], html: {multipart: true} do |f|
    -#   = f.file_field :file, data: {customfileinput: true}

    = form_tag spina.insert_collection_admin_attachments_path(params[:page_part_id]), remote: true, class: 'gallery-prepend-attachment' do
      .table-container
        %table.table.table-clickable
          %thead
            %tr
              %th 
              %th Bestandsnaam
          %tbody
            - @attachments.each do |attachment|
              %tr
                %td= check_box_tag 'attachment_ids[]', attachment.id
                %td= attachment.name

      %footer
        = link_to "Annuleren", "#", data: {dismiss: 'modal'}
        = button_tag "Documenten invoegen", type: 'submit', class: 'primary', data: {icon: 't '}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spina-0.6.12 app/views/spina/admin/attachments/_select_collection.html.haml
spina-0.6.11 app/views/spina/admin/attachments/_select_collection.html.haml