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

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

<%- @collection.each do |page|%> <% end %>
<%= sort_link @search, :title, t("page.title") %> <%= sort_link @search, :path, t("page.path") %> <%= sort_link @search, :accessible, t("page.accessible") %> <%= sort_link @search, :visible, t("page.visible") %> <%= t("action") %>
   <%=link_to page.title, object_url(page) %> <%= page.path %> <%= page.accessible %> <%= page.visible %> <%= link_to_with_icon :accept, t('preview'), page.path, :onclick => 'window.open(this.href);return false;' %>   <%= link_to_with_icon :pages, t('page.contents'), admin_page_contents_path(page) %>   <%= link_to_edit page %>   <%= link_to_delete page %>
<%= paginate @collection %> <% content_for :sidebar do %>

<%= t(:search) %>

<% @page = Page.metasearch %> <%= form_for [:admin, @page] do |f| %>


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

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

<% end %>
<% end %>