28
lib/eventos_web/templates/user/show.html.eex
Normal file
28
lib/eventos_web/templates/user/show.html.eex
Normal file
@@ -0,0 +1,28 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user