coriplus/templates/join.html

36 lines
1.3 KiB
HTML
Raw Normal View History

2019-05-01 15:33:28 +02:00
{% extends "base.html" %}
{% block body %}
<h2>Join {{ site_name }}</h2>
2019-10-17 14:34:55 +02:00
<form action="{{ url_for('register') }}" method="POST">
2019-05-01 15:33:28 +02:00
<dl>
<dt>Username:</dt>
2019-10-17 14:34:55 +02:00
<dd><input type="text" class="username-input" name="username" autocomplete="off"></dd>
<dt>Full name:</dt>
<dd>
<small class="field_desc">If not given, defaults to your username.</small>
<input type="text" name="full_name">
</dd>
2019-05-01 15:33:28 +02:00
<dt>Password:</dt>
<dd><input type="password" name="password"></dd>
<dt>Email:</dt>
<dd><input type="text" name="email"></dd>
2019-10-17 14:34:55 +02:00
<dt>Birthday:</dt>
<dd>
<small class="field_desc">Your birthday won't be shown to anyone.</small>
<input type="text" name="birthday" placeholder="yyyy-mm-dd">
</dd>
{% if not current_user.is_anonymous %}
<dd>
<input type="checkbox" name="confirm_another" value="1">
<label for="confirm_another">I want to create another account</label>
</dd>
{% endif %}
<dd>
<input type="checkbox" name="legal" value="1">
<label for="legal">I've read the <a href="/terms/">Terms of Service</a> and <a href="/privacy/">Privacy Policy</a>.</label>
</dd>
2019-05-01 15:33:28 +02:00
<dd><input type="submit" value="Join">
</dl>
</form>
{% endblock %}