Sha256: 8e96c93ce903a72605d48558926d3e80e06903b345bc8196ac3d941dfcbf7614
Contents?: true
Size: 1.06 KB
Versions: 4
Compression:
Stored size: 1.06 KB
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', style: 'margin-bottom: 0' 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, attachment.id.in?(@selected_attachment_ids) %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
4 entries across 4 versions & 1 rubygems