Sha256: 7f47f961b643cbe5b0bbf763161d5ca39281846359aef622ff7893725b91307e

Contents?: true

Size: 406 Bytes

Versions: 5

Compression:

Stored size: 406 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, :confirm => t('.are_you_sure'), :class => 'delete' do
          %i.glyphicon.glyphicon-remove-circle

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.12.4 app/views/comfy/admin/cms/files/_page_form.html.haml
comfortable_mexican_sofa-1.12.3 app/views/comfy/admin/cms/files/_page_form.html.haml
comfortable_mexican_sofa-1.12.2 app/views/comfy/admin/cms/files/_page_form.html.haml
comfortable_mexican_sofa-1.12.1 app/views/comfy/admin/cms/files/_page_form.html.haml
comfortable_mexican_sofa-1.12.0 app/views/comfy/admin/cms/files/_page_form.html.haml