Sha256: 43e443b46fd6c3100d125fa8c237e0b1333dac71244c176169fc2aff5bc137b8
Contents?: true
Size: 1.3 KB
Versions: 12
Compression:
Stored size: 1.3 KB
Contents
.page-header = link_to t('.new_link'), new_comfy_admin_cms_site_snippet_path(@site), :class => 'btn btn-default pull-right' %h2= t('.title') - content_for :right_column do = render 'comfy/admin/cms/sites/mirrors' = render 'comfy/admin/cms/partials/snippets_before' = render :partial => 'comfy/admin/cms/categories/index', :object => 'Comfy::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_comfy_admin_cms_site_snippet_path(@site, snippet) = render :partial => 'comfy/admin/cms/categories/categories', :object => snippet .item-meta = snippet.identifier %td .btn-group.btn-group-sm = link_to t('.edit'), edit_comfy_admin_cms_site_snippet_path(@site, snippet), :class => 'btn btn-default' = link_to t('.delete'), comfy_admin_cms_site_snippet_path(@site, snippet), :method => :delete, :data => {:confirm => t('.are_you_sure')}, :class => 'btn btn-danger' = render 'comfy/admin/cms/partials/snippets_after'
Version data entries
12 entries across 12 versions & 1 rubygems