Sha256: eb0e7c072ff96d27ac400c7523d6ebba2f05f56a3a21ecf94068916d272a7ae7
Contents?: true
Size: 1.36 KB
Versions: 1
Compression:
Stored size: 1.36 KB
Contents
<%= render :partial => 'spree/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 => 'spree/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 = Spree::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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_essential_cms-0.3.0.rc1 | app/views/spree/admin/contents/index.html.erb |