Sha256: 4ec794f22102a13900aafc1d4e0f0faa969facb52567ecf75f8a56203a6bead4

Contents?: true

Size: 1.29 KB

Versions: 24

Compression:

Stored size: 1.29 KB

Contents

<%= link_to span_tag(t('.new_link')), new_cms_admin_site_snippet_path(@site), :class => 'big button' %>
<h1><%= t('.title')%></h1>

<% content_for :right_column do %>
  <%= render :partial => 'cms_admin/sites/mirrors' %>
<% end %>

<%= render :partial => 'cms_admin/categories/index', :object => 'Cms::Snippet' %>

<ul class='list sortable'>
  <% @snippets.each do |snippet| %>
    <li id='cms_snippet_<%= snippet.id %>'>
      <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_snippet_path(@site, snippet) %>
          <%= link_to t('.delete'), cms_admin_site_snippet_path(@site, snippet), :method => :delete, :confirm => t('.are_you_sure') %>
        </div>
        <div class='label'>
          <%= link_to snippet.label, edit_cms_admin_site_snippet_path(@site, snippet) %>
          <%= render :partial => '/cms_admin/categories/categories', :object => snippet %>
          <div class='sublabel'>
            <%= link_to snippet.identifier, edit_cms_admin_site_snippet_path(@site, snippet) %>
          </div>
        </div>
      </div>
    </li>
  <% end %>
</ul>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.6.3 app/views/cms_admin/snippets/index.html.erb
comfortable_mexican_sofa-1.6.2 app/views/cms_admin/snippets/index.html.erb
comfortable_mexican_sofa-1.6.1 app/views/cms_admin/snippets/index.html.erb
comfortable_mexican_sofa-1.6.0 app/views/cms_admin/snippets/index.html.erb