WIP user page

This commit is contained in:
Râu Cao
2023-02-23 23:55:32 +08:00
parent ffed398024
commit 55abbcc5ad
3 changed files with 27 additions and 1 deletions

View File

@@ -2,5 +2,26 @@
<%= render MainSimpleComponent.new do %>
<section>
<h3>Account</h3>
<table class="w-1/2">
<tbody>
<tr>
<th>Created at</th>
<td><%= @user.created_at.strftime("%Y-%m-%d (%H:%M UTC)") %></td>
</tr>
<tr>
<th>Confirmed at</th>
<td><%= @user.confirmed_at.strftime("%Y-%m-%d (%H:%M UTC)") %></td>
</tr>
<tr>
<th>Email</th>
<td><%= @user.email %></td>
</tr>
<tr>
<th>Invited by</th>
<td><%= @inviter ? link_to(@inviter.address, admin_user_path(@inviter.address), class: 'ks-text-link') : "—" %></td>
</tr>
</tbody>
</table>
</section>
<% end %>