Sha256: 67e959416e902cdbd37b3c41d4b7afb0e61869ca0c9c758401aaaa432260878b
Contents?: true
Size: 1.34 KB
Versions: 2
Compression:
Stored size: 1.34 KB
Contents
<%= render :partial => 'admin/shared/contents_sub_menu' %> <div class='toolbar'> <ul class='actions'> <li> <p><%= button_link_to t('.new_content'), new_object_url, :icon => 'add' %></p> </li> </ul> <br class='clear' /> </div> <%= render :partial => 'admin/shared/page_tabs', :locals => {:current => 'Contents'} %> <h2><%= t('.listing_contents') %></h2> <table class="index sortable"> <thead> <tr> <th><%= sort_link @search, :title, t("content.title") %></th> <th><%= sort_link @search, :context, t("content.context") %></th> <th><%= t("action") %></th> </tr> </thead> <tbody> <%- @collection.each do |content|%> <tr id="<%= dom_id content %>"> <td><span class="handle"> </span> <%= link_to content.title, object_url(content) %></td> <td><%= content.context %> <td> <%= link_to_edit content %> <%= link_to_delete content %> </td> </tr> <% end %> </tbody> </table> <%= paginate @collection %> <% content_for :sidebar do %> <div class="box"> <h3><%= t(:search) %></h3> <% @content = Content.metasearch %> <%= form_for [:admin, @page, @content] do |f| %> <p> <label><%= t('content.title') %></label><br /> <%= f.text_field :title_like, :size => 25 %> </p> <p><%= button t("search") %></p> <% end %> </div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_essential_cms-0.2.1 | app/views/admin/contents/index.html.erb |
spree_essential_cms-0.2.0 | app/views/admin/contents/index.html.erb |