<%= render :partial => 'spree/admin/shared/page_tabs', :locals => {:current => 'Contents'} %>

<%= t('.listing_contents') %>

<%- @collection.each do |content|%> <% end %>
<%= sort_link @search, :title, t("content.title") %> <%= sort_link @search, :context, t("content.context") %> <%= t("action") %>
   <%= link_to content.title, object_url(content) %> <%= content.context %> <%= link_to_edit content %>   <%= link_to_delete content %>
<%= paginate @collection %> <% content_for :sidebar do %>

<%= t(:search) %>

<%= search_form_for [:admin, @page, @search] do |f| %>

<%= f.label :title_cont, t('content.title') %>
<%= f.text_field :title_cont, :size => 25 %>

<%= f.label :context_cont, t('content.context') %>
<%= f.text_field :context_cont, :size => 25 %>

<%= button t("search") %>

<% end %>
<% end %>