app/views/users/index.html.erb
<%= render 'header', :title => 'Dolores Users' %>
<section class="main-content">
<%= render "flashes" -%>
<table>
<tr>
<th>Email</th>
<th>Admin</th>
<th></th>
</tr>
<% @users.each do |user| %>
<tr>
<td><%= user.email %></td>
<td><%= user.admin? %></td>
<td>
<%= link_to edit_user_path(user), class: 'button button-edit' do %>
<icon class="icon-edit"></icon>
<span>Edit</span>
<% end %>
</td>
</tr>
<% end %>
</table>
</section>