Sha256: 7fbfb7ae019f2068f5fe7a98d641bc5fcabce07740c4197309a1338ca880928d
Contents?: true
Size: 1.15 KB
Versions: 5
Compression:
Stored size: 1.15 KB
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 sortable'> <% @files.each do |file| %> <li id='<%= dom_id(file) %>'> <div class='item'> <div class='icon'> <% if !params[:category].present? %> <div class='dragger'><span><%= t('cms.views.pages.drag') %></span></div> <% end %> </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, :data => {: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
5 entries across 5 versions & 1 rubygems