Sha256: 16bf70112fbe33f4dca7c1727a189f9c480070425c898c70fc72d4f3acd0d783
Contents?: true
Size: 1008 Bytes
Versions: 5
Compression:
Stored size: 1008 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', 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= 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
5 entries across 5 versions & 1 rubygems