Sha256: b0ca2e17314199d0a365dacd72c2682579459e051fc9abb37c890f77897287a6
Contents?: true
Size: 1.07 KB
Versions: 2
Compression:
Stored size: 1.07 KB
Contents
.page-header = link_to t('.new_link'), new_cms_admin_site_file_path(@site), :class => 'btn pull-right' %h2= t('.title') = render :partial => 'cms_admin/categories/index', :object => 'Cms::File' %table.table.table-hover.table-bordered %tbody.sortable - @files.each do |file| %tr{:id => dom_id(file)} %td .icon - if !params[:category].present? && @site.files.count > 1 .dragger %span ⇅ %td.main .item-title = link_to file.label, edit_cms_admin_site_file_path(@site, file) = render :partial => '/cms_admin/categories/categories', :object => file .item-meta = link_to file.file_file_name, file.file.url, :target => '_blank' %td .btn-group = link_to t('.edit'), edit_cms_admin_site_file_path(@site, file), :class => 'btn btn-small' = link_to t('.delete'), cms_admin_site_file_path(@site, file), :method => :delete, :data => {:confirm => t('.are_you_sure')}, :class => 'btn btn-small btn-danger'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
comfortable_mexican_sofa-1.7.1 | app/views/cms_admin/files/index.html.haml |
comfortable_mexican_sofa-1.7.0 | app/views/cms_admin/files/index.html.haml |