Sha256: c03cf9956c94100cc154a9b9cc24df34f874307c7e04dc189d1987b1290d8641
Contents?: true
Size: 993 Bytes
Versions: 23
Compression:
Stored size: 993 Bytes
Contents
<%= link_to span_tag(t('.new_link')), new_cms_admin_site_file_path(@site), :class => 'big button' %> <h1><%= t('.title')%></h1> <%= render :partial => 'cms_admin/categories/index', :object => 'Cms::File' %> <ul class='list'> <% @files.each do |file| %> <li id='<%= dom_id(file) %>'> <div class='item'> <div class='icon'></div> <div class='action_links'> <%= link_to t('.edit'), edit_cms_admin_site_file_path(@site, file) %> <%= link_to t('.delete'), cms_admin_site_file_path(@site, file), :method => :delete, :confirm => t('.are_you_sure') %> </div> <div class='label'> <%= link_to file.label, edit_cms_admin_site_file_path(@site, file) %> <%= render :partial => '/cms_admin/categories/categories', :object => file %> <div class='sublabel'> <%= link_to file.file_file_name, file.file.url, :target => '_blank' %> </div> </div> </div> </li> <% end %> </ul>
Version data entries
23 entries across 23 versions & 1 rubygems