mobilizon/lib/eventos_web/templates/user/show.html.eex
Thomas Citharel 90ceb4f6fe initial commit
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2017-12-08 09:58:14 +01:00

29 lines
451 B
Elixir

<h2>Show User</h2>
<ul>
<li>
<strong>Username:</strong>
<%= @user.username %>
</li>
<li>
<strong>Email:</strong>
<%= @user.email %>
</li>
<li>
<strong>Password hash:</strong>
<%= @user.password_hash %>
</li>
<li>
<strong>Role:</strong>
<%= @user.role %>
</li>
</ul>
<span><%= link "Edit", to: user_path(@conn, :edit, @user) %></span>
<span><%= link "Back", to: user_path(@conn, :index) %></span>