Move templates to components
This commit is contained in:
parent
4fb1e200f1
commit
cd1e5887c5
12 changed files with 15 additions and 14 deletions
8
lib/nulla_web/components/templates/user/new.html.heex
Normal file
8
lib/nulla_web/components/templates/user/new.html.heex
Normal file
|
@ -0,0 +1,8 @@
|
|||
<.header>
|
||||
New User
|
||||
<:subtitle>Use this form to manage user records in your database.</:subtitle>
|
||||
</.header>
|
||||
|
||||
<.user_form changeset={@changeset} action={~p"/users"} />
|
||||
|
||||
<.back navigate={~p"/users"}>Back to users</.back>
|
Loading…
Add table
Add a link
Reference in a new issue