Sha256: e4ccd431b33bca3cf7286ba6cfed4e9ff43658a812ab4647b34cbea79d1e3f24

Contents?: true

Size: 417 Bytes

Versions: 2

Compression:

Stored size: 417 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 comfy_admin_cms_site_file_path(@site, file), :method => :delete, :remote => true, :data => {:confirm => t('.are_you_sure')}, :class => 'delete' do
          %i.glyphicon.glyphicon-remove-circle

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.12.6 app/views/comfy/admin/cms/files/_page_form.html.haml
comfortable_mexican_sofa-1.12.5 app/views/comfy/admin/cms/files/_page_form.html.haml