eventcally/project/templates/security/register_user.html
2020-12-20 16:21:56 +01:00

24 lines
823 B
HTML

{% extends "layout.html" %}
{% from "_macros.html" import render_field_with_errors, render_field %}
{% block content %}
<h1>{{ _fsdomain('Register') }}</h1>
<form action="{{ url_for_security('register', next='manage') }}" method="POST" name="register_user_form">
{{ register_user_form.hidden_tag() }}
{{ render_field_with_errors(register_user_form.email) }}
{{ render_field_with_errors(register_user_form.password) }}
{% if register_user_form.password_confirm %}
{{ render_field_with_errors(register_user_form.password_confirm) }}
{% endif %}
<div class="form-group form-check">
{{ register_user_form.accept_tos(class="form-check-input")|safe }}
{{ register_user_form.accept_tos.label(class="form-check-label") }}
</div>
{{ render_field(register_user_form.submit) }}
</form>
{% endblock %}