Sha256: 5e76e378014cae1325ad84fcb1b7dcd5a8e3323bcb294d96c1570a7a57fbb7cc

Contents?: true

Size: 385 Bytes

Versions: 7

Compression:

Stored size: 385 Bytes

Contents

- block ||= page_form

- if (files = block.files).present?
  .files
    - files.each do |file|
      .file{:class => dom_id(file)}
        = link_to file.file_file_name, file.file.url, :target => '_blank'
        = link_to admin_cms_site_file_path(@site, file), :method => :delete, :remote => true, :confirm => t('.are_you_sure'), :class => 'delete' do
          %i.icon-remove-circle

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.11.2 app/views/admin/cms/files/_page_form.html.haml
comfortable_mexican_sofa-1.11.1 app/views/admin/cms/files/_page_form.html.haml
comfortable_mexican_sofa-1.11.0 app/views/admin/cms/files/_page_form.html.haml
comfortable_mexican_sofa-1.10.3 app/views/admin/cms/files/_page_form.html.haml
comfortable_mexican_sofa-1.10.2 app/views/admin/cms/files/_page_form.html.haml
comfortable_mexican_sofa-1.10.1 app/views/admin/cms/files/_page_form.html.haml
comfortable_mexican_sofa-1.10.0 app/views/admin/cms/files/_page_form.html.haml