Files
mCaptcha/templates/auth/register/index.html
2021-05-06 20:32:44 +05:30

73 lines
1.7 KiB
HTML

<. include!("../../components/headers.html"); .>
<main class="auth-main">
<div class="auth-inner-container">
<img src="<.=
crate::FILES.get("./static-assets/img/icon-trans.png").unwrap().>"
class="auth__logo" alt="mcaptcha logo" />
<form
method="POST"
action="<.= crate::V1_API_ROUTES.auth.register .>"
class="sitekey-form" id="form">
<h1 class="form__title">
Join mCaptcah
</h1>
<label class="sitekey-form__label" for="username"
>Username
<input
class="sitekey-form__input"
id="username"
type="text"
name="username"
id="username"
required
autofocus="true"
/>
</label>
<label class="sitekey-form__label" for="username"
>Email(optional)
<input
class="sitekey-form__input"
id="email"
type="email"
name="email"
id="email"
/>
</label>
<label class="sitekey-form__label" for="password"
>Password
<input
class="sitekey-form__input"
type="password"
id="password"
name="password"
id="password"
required
/>
</label>
<label for="password" class="sitekey-form__label"
>Re-enter Password
<input
class="sitekey-form__input"
type="password"
id="password-check"
name="password-check"
id="password-check"
required
/>
</label>
<input type="submit" class="sitekey-form__submit" value="Sign up" />
</form>
<p class="auth__secondary-action__banner">
Already have an account?
<a href="<.= crate::PAGES.auth.login .>" class="auth__secondary-action__link">Log in</a>
</p>
</div>
<. include!("../../components/footers.html"); .>