app/views/users/index.html.erb in home_page-0.0.5 vs app/views/users/index.html.erb in home_page-0.0.6
- old
+ new
@@ -1,5 +1,7 @@
+<% content_for :title do %><%= t('users.index.title') %><% end %>
+
<table class='table table-striped'>
<thead>
<tr class='<%= cycle('odd', 'even') %>'>
<th><%= t('activerecord.attributes.user.name') %></th>
<th><%= t('activerecord.attributes.user.first_name') %></th>
@@ -29,6 +31,8 @@
</div>
</td>
</tr>
<% end %>
</tbody>
-</table>
\ No newline at end of file
+</table>
+
+<%= will_paginate @users, renderer: BootstrapPagination::Rails %>