Add users
This commit is contained in:
parent
956f2625fd
commit
162aa095d3
15 changed files with 489 additions and 99 deletions
15
lib/nulla_web/controllers/user_html/show.html.heex.bak
Normal file
15
lib/nulla_web/controllers/user_html/show.html.heex.bak
Normal file
|
@ -0,0 +1,15 @@
|
|||
<.header>
|
||||
User {@user.id}
|
||||
<:subtitle>This is a user record from your database.</:subtitle>
|
||||
<:actions>
|
||||
<.link href={~p"/users/#{@user}/edit"}>
|
||||
<.button>Edit user</.button>
|
||||
</.link>
|
||||
</:actions>
|
||||
</.header>
|
||||
|
||||
<.list>
|
||||
<:item title="Username">{@user.username}</:item>
|
||||
</.list>
|
||||
|
||||
<.back navigate={~p"/users"}>Back to users</.back>
|
Loading…
Add table
Add a link
Reference in a new issue