Sha256: c5bda724893cddcd4194108e04c7a21e1285503334c89074e6b90f9811a61335

Contents?: true

Size: 385 Bytes

Versions: 15

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 cms_admin_site_file_path(@site, file), :method => :delete, :remote => true, :confirm => t('.are_you_sure'), :class => 'delete' do
          %i.icon-remove-circle

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
comfortable_mexican_sofa-1.9.3 app/views/cms_admin/files/_page_form.html.haml
comfortable_mexican_sofa-1.9.2 app/views/cms_admin/files/_page_form.html.haml
comfortable_mexican_sofa-1.8.5 app/views/cms_admin/files/_page_form.html.haml
comfortable_mexican_sofa-1.9.1 app/views/cms_admin/files/_page_form.html.haml
comfortable_mexican_sofa-1.9.0 app/views/cms_admin/files/_page_form.html.haml
comfortable_mexican_sofa-1.8.4 app/views/cms_admin/files/_page_form.html.haml
comfortable_mexican_sofa-1.8.3 app/views/cms_admin/files/_page_form.html.haml
comfypress-0.1.4 app/views/cms_admin/files/_page_form.html.haml
comfortable_mexican_sofa-1.8.2 app/views/cms_admin/files/_page_form.html.haml
comfypress-0.1.3 app/views/cms_admin/files/_page_form.html.haml
comfortable_mexican_sofa-1.8.1 app/views/cms_admin/files/_page_form.html.haml
comfortable_mexican_sofa-1.8.0 app/views/cms_admin/files/_page_form.html.haml
comfortable_mexican_sofa-1.7.3 app/views/cms_admin/files/_page_form.html.haml
comfortable_mexican_sofa-1.7.1 app/views/cms_admin/files/_page_form.html.haml
comfortable_mexican_sofa-1.7.0 app/views/cms_admin/files/_page_form.html.haml