<%= render :partial => 'admin/shared/contents_sub_menu' %>

<%= render :partial => '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 %>
<%= will_paginate(@contents, :prev => "« #{t('previous')}", :next => "#{t('next')} »") %> <% content_for :sidebar do %>

<%= t(:search) %>

<% @content = Content.metasearch %> <%= form_for [:admin, @page, @content] do |f| %> <%- locals = {:f => f} %> <%= hook :admin_contents_index_search, locals do %>


<%= f.text_field :title_like, :size => 25 %>

<% end %> <%= hook :admin_contents_index_search_buttons, locals do %>

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

<% end %> <% end %>
<% end %>