Sha256: 8dc1477fb0bef7c9cadede632a15d1b62721b1ee573c0975060dd64d6a1d9a31
Contents?: true
Size: 1.13 KB
Versions: 14
Compression:
Stored size: 1.13 KB
Contents
.page-header = link_to t('.new_link'), new_cms_admin_site_snippet_path(@site), :class => 'btn pull-right' %h2= t('.title') - content_for :right_column do = render :partial => 'cms_admin/sites/mirrors' = render :partial => 'cms_admin/categories/index', :object => 'Cms::Snippet' %table.table.table-hover.table-bordered %tbody.sortable - @snippets.each do |snippet| %tr{:id => dom_id(snippet)} %td .icon - if !params[:category].present? && @site.snippets.count > 1 .dragger %span ⇅ %td.main .item-title = link_to snippet.label, edit_cms_admin_site_snippet_path(@site, snippet) = render :partial => '/cms_admin/categories/categories', :object => snippet .item-meta = snippet.identifier %td .btn-group = link_to t('.edit'), edit_cms_admin_site_snippet_path(@site, snippet), :class => 'btn btn-small' = link_to t('.delete'), cms_admin_site_snippet_path(@site, snippet), :method => :delete, :data => {:confirm => t('.are_you_sure')}, :class => 'btn btn-small btn-danger'
Version data entries
14 entries across 14 versions & 2 rubygems