Sha256: b9b0d282f4889846f9c12d07ca6dfea8538b5378ef7936d94991f0b42324fbd0
Contents?: true
Size: 982 Bytes
Versions: 20
Compression:
Stored size: 982 Bytes
Contents
.modal.modal-large %header = link_to "", "#", class: 'close_modal', data: {dismiss: 'modal', icon: 'm'} %h3= t('spina.attachments.insert') %section -# = form_for [spina, :admin, @attachment], html: {multipart: true} do |f| -# = f.file_field :file, data: {customfileinput: true} = form_tag spina.insert_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= radio_button_tag :attachment_id, attachment.id %td= attachment.name %footer = link_to t('spina.cancel'), "#", data: {dismiss: 'modal'} = button_tag t('spina.attachments.insert'), type: 'submit', class: 'primary', data: {icon: 't '}
Version data entries
20 entries across 20 versions & 1 rubygems