Move auth template to page
This commit is contained in:
parent
1b404b3ea9
commit
5cb937c14c
3 changed files with 0 additions and 6 deletions
19
lib/nulla_web/components/templates/page/sign_up.html.heex
Normal file
19
lib/nulla_web/components/templates/page/sign_up.html.heex
Normal file
|
@ -0,0 +1,19 @@
|
|||
<main class="flex min-h-screen items-center justify-center">
|
||||
<form class="flex flex-col gap-2" action="/auth" method="post">
|
||||
<label for="username">Username *</label>
|
||||
<input id="username" name="username" type="text" maxlength="30" required />
|
||||
<label for="email">E-mail address *</label>
|
||||
<input id="email" name="email" type="email" maxlength="50" required />
|
||||
<label for="password">Password *</label>
|
||||
<input id="password" name="password" type="password" minlength="8" maxlength="50" required />
|
||||
<input
|
||||
id="password_confirm"
|
||||
name="password_confirm"
|
||||
type="password"
|
||||
minlength="8"
|
||||
maxlength="50"
|
||||
placeholder="Confirm password"
|
||||
/>
|
||||
<button class="text-white bg-black py-2 border" type="submit">Sign up</button>
|
||||
</form>
|
||||
</main>
|
Loading…
Add table
Add a link
Reference in a new issue