Sha256: 225249141b925f2595f45c37e2bb7fa39b2d608b55c4e9835a683dbeaee6ae46

Contents?: true

Size: 675 Bytes

Versions: 1

Compression:

Stored size: 675 Bytes

Contents

.file{:class => "#{dom_id(slide)} #{slide.is_image?? 'image' : nil}"}
  .file-name
    = link_to cms_admin_site_file_path(@site, slide), :method => :delete, :remote => true, :data => {:confirm => t('.are_you_sure')}, :class => 'delete' do
      %i.icon-remove-circle
    = link_to slide.file_file_name, slide.file.url, :target => '_blank', :class => 'filename'
  
  .file-info{:data => {:url => slide.file.url}}
    .thumb
      = image_tag slide.file.url(:cms_thumb) if slide.is_image?
    .details
      %input{:type => 'text', :value => slide.file.url}
      .file-type= slide.file_content_type
      .file-size= number_to_human_size(slide.file_file_size, :locale => :en)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
comfypress-0.1.4 app/views/cms_admin/slides/_slide.html.haml