<%= 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) %>

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

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

<%= f.label :path_cont, t('page.path') %>
<%= f.text_field :path_cont, :size => 25 %>

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

<% end %>
<% end %>