app/views/admin/pages/index.html.erb in spree_essential_cms-0.1.2 vs app/views/admin/pages/index.html.erb in spree_essential_cms-0.2.0
- old
+ new
@@ -37,26 +37,21 @@
</tr>
<% end %>
</tbody>
</table>
-<%= will_paginate(:prev => "« #{t('previous')}", :next => "#{t('next')} »") %>
+<%= paginate @collection %>
<% content_for :sidebar do %>
<div class="box">
<h3><%= t(:search) %></h3>
<% @page = Page.metasearch %>
<%= form_for [:admin, @page] do |f| %>
- <%- locals = {:f => f} %>
- <%= hook :admin_pages_index_search, locals do %>
- <p>
- <label><%= t '.title_contains' %></label><br />
- <%= f.text_field :title_contains, :size => 25 %>
- </p>
- <% end %>
- <%= hook :admin_pages_index_search_buttons, locals do %>
- <p><%= button t("search") %></p>
- <% end %>
+ <p>
+ <label><%= t '.title_contains' %></label><br />
+ <%= f.text_field :title_contains, :size => 25 %>
+ </p>
+ <p><%= button t("search") %></p>
<% end %>
</div>
<% end %>