forked from fixin.me/fixin.me
25 lines
844 B
Plaintext
25 lines
844 B
Plaintext
<table class="items" id="users">
|
|
<thead>
|
|
<tr>
|
|
<th><%= User.human_attribute_name(:email).capitalize %></th>
|
|
<th><%= User.human_attribute_name(:status).capitalize %></th>
|
|
<th><%= User.human_attribute_name(:confirmed_at).capitalize %></th>
|
|
<th><%= User.human_attribute_name(:created_at).capitalize %> <sup>UTC</sup></th>
|
|
<!-- <th><%#= t :actions %></th> -->
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% @users.each do |user| %>
|
|
<tr>
|
|
<td><%= link_to user.email, user_path(user) %></td>
|
|
<td><%= user.status %></td>
|
|
<td class="svg">
|
|
<%= svg_tag "pictograms/checkbox-marked-outline" if user.confirmed_at.present? %>
|
|
</td>
|
|
<td><%= user.created_at.to_fs(:db_without_sec) %></td>
|
|
<!-- <td class="actions"></td> -->
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|