AgPerry's picture
Add files using upload-large-folder tool
a976fe6 verified
Raw History Blame Contribute Delete
1.51 kB
{% extends "base.html" %}
{% block title %}Create account – Brooklinen{% endblock %}
{% block content %}
<div class="page-width form-card">
<h1>Create your account</h1>
{% if error %}<div class="flash flash--error">{{ error }}</div>{% endif %}
{% if notice %}<div class="flash">{{ notice }}</div>{% endif %}
{% if stage == 'verify' %}
<p class="form-note">We sent a verification code to <strong>{{ email }}</strong>. In this offline clone the code is delivered to the <a href="/dev/outbox" style="text-decoration:underline">local outbox</a>.</p>
<form method="post" action="/account/register/verify">
<label for="code">Verification code</label>
<input id="code" name="code" required inputmode="numeric" autocomplete="one-time-code">
<div class="actions"><button class="button button--primary button--block" type="submit">Verify and create account</button></div>
</form>
{% else %}
<form method="post" action="/account/register">
<label for="email">Email</label>
<input id="email" name="email" type="email" required autocomplete="username">
<label for="password">Password</label>
<input id="password" name="password" type="password" required autocomplete="new-password">
<div class="actions"><button class="button button--primary button--block" type="submit">Create account</button></div>
</form>
{% endif %}
<p class="form-note">Already have an account? <a href="/account/login" style="text-decoration:underline">Sign in</a>.</p>
</div>
{% endblock %}