app/views/devise/registrations/index.html.erb
<%- model_class = User -%>
<%# Controller: app/controllers/users_controller.rb %>
<div class="page-header">
<h1><%=t '.title', :default => model_class.model_name.human(:count => :many).titleize %></h1>
</div>
<table class="table table-striped">
<thead>
<tr>
<th><%= model_class.human_attribute_name(:id) %></th>
<th><%= model_class.human_attribute_name(:first_name) %></th>
<th><%= model_class.human_attribute_name(:last_name) %></th>
<th><%= model_class.human_attribute_name(:created_at) %></th>
<th><%=t '.actions', :default => t("helpers.actions") %></th>
</tr>
</thead>
<tbody>
<% @users.each do |user| %>
<tr>
<td><%= link_to user.id, user_path(user) %></td>
<td><%= user.first_name %></td>
<td><%= user.last_name %></td>
<td><%=l user.created_at %></td>
<td>
<%= link_to t('.show', :default => t("helpers.links.show")),
user_path(user), :class => 'btn btn-default btn-xs' %>
</td>
</tr>
<% end %>
</tbody>
</table>
<%= back_btn root_path %>