Sha256: 8ab61f75de9d71d2c6ca990310466f48f21370b03a433eee8aaa78acb6455eac
Contents?: true
Size: 1012 Bytes
Versions: 20
Compression:
Stored size: 1012 Bytes
Contents
.modal.modal-large %header = link_to "", "#", class: 'close_modal', data: {dismiss: 'modal', icon: 'm'} %h3= t('spina.attachments.insert_multiple') %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= Spina::Attachment.human_attribute_name(:name) %tbody - @attachments.each do |attachment| %tr %td= check_box_tag 'attachment_ids[]', attachment.id %td= 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
20 entries across 20 versions & 1 rubygems