nopaque/app/templates/auth/register.html.j2

69 lines
2.5 KiB
Plaintext
Raw Normal View History

2020-02-07 14:21:59 +00:00
{% extends "nopaque.html.j2" %}
2020-02-27 10:29:42 +00:00
{% set headline = ' ' %}
{% block page_content %}
<style>
main {
2020-02-27 14:41:06 +00:00
background-image: url("{{ url_for('static', filename='images/parallax_lq/02_concept_document_focus_letter.jpg') }}");
2020-02-20 09:32:02 +00:00
background-repeat: no-repeat;
background-size: cover;
}
</style>
2019-07-09 14:59:04 +00:00
<div class="col s12 m4">
<div class="card medium">
<div class="card-content">
2020-02-27 10:29:42 +00:00
<h2>Register</h2>
<p>Simply enter a username and password to receive your registration email. After that you can start right away.</p>
<p>It goes without saying that the <a>General Data Protection Regulation</a> applies, only necessary data is stored.</p>
</div>
</div>
2019-07-09 14:59:04 +00:00
</div>
<div class="col s12 m8">
<div class="card medium">
<form method="POST">
<div class="card-content">
2020-02-17 15:14:24 +00:00
{{ registration_form.hidden_tag() }}
2019-07-08 12:06:35 +00:00
<div class="input-field">
2019-07-09 14:59:04 +00:00
<i class="material-icons prefix">person</i>
2020-02-17 15:14:24 +00:00
{{ registration_form.username(class='validate', data_length='64') }}
{{ registration_form.username.label }}
{% for error in registration_form.username.errors %}
<span class="helper-text red-text">{{ error }}</span>
2019-07-08 12:06:35 +00:00
{% endfor %}
</div>
<div class="input-field">
<i class="material-icons prefix">vpn_key</i>
2020-02-17 15:14:24 +00:00
{{ registration_form.password(class='validate') }}
{{ registration_form.password.label }}
{% for error in registration_form.password.errors %}
<span class="helper-text red-text">{{ error }}</span>
2019-07-08 12:06:35 +00:00
{% endfor %}
</div>
<div class="input-field">
<i class="material-icons prefix">vpn_key</i>
2020-02-19 15:58:56 +00:00
{{ registration_form.password_confirmation(class='validate') }}
{{ registration_form.password_confirmation.label }}
{% for error in registration_form.password_confirmation.errors %}
<span class="helper-text red-text">{{ error }}</span>
2019-07-08 12:06:35 +00:00
{% endfor %}
</div>
<div class="input-field">
2019-07-08 12:06:35 +00:00
<i class="material-icons prefix">email</i>
2020-02-17 15:14:24 +00:00
{{ registration_form.email(class='validate', type='email') }}
{{ registration_form.email.label }}
{% for error in registration_form.email.errors %}
<span class="helper-text red-text">{{ error }}</span>
2019-07-08 12:06:35 +00:00
{% endfor %}
</div>
</div>
<div class="card-action right-align">
2020-02-24 08:27:02 +00:00
{{ macros.submit_button(registration_form.submit) }}
</div>
</form>
</div>
</div>
{% endblock %}