]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/list.html.erb
Site cleanup
[rails.git] / app / views / user / list.html.erb
index c19c0ac6c52544cbaf766f5bca37869446669ae1..240a7590ddb16532d3bef28ce6f5b345901ab048 100644 (file)
@@ -1,6 +1,8 @@
 <% @title = t('user.list.title') %>
 
 <% @title = t('user.list.title') %>
 
-<h1><%= t('user.list.heading') %></h1>
+<% content_for :heading do %>
+  <h1><%= t('user.list.heading') %></h1>
+<% end %>
 
 <% unless @users.empty? %>
   <%= form_tag do %>
 
 <% unless @users.empty? %>
   <%= form_tag do %>
@@ -18,7 +20,7 @@
               :count => @user_pages.current_page.last_item - @user_pages.current_page.first_item + 1
           %>
           <% if @user_pages.page_count > 1 %>
               :count => @user_pages.current_page.last_item - @user_pages.current_page.first_item + 1
           %>
           <% if @user_pages.page_count > 1 %>
-          | <%= pagination_links_each(@user_pages, {}) { |n| link_to n, params.merge(:page => n) } %>
+          | <%= raw pagination_links_each(@user_pages, {}) { |n| link_to n, params.merge(:page => n) } %>
           <% end %>
         </td>
         <td>
           <% end %>
         </td>
         <td>