24 lines
960 B
HTML
24 lines
960 B
HTML
{% extends "layout.html" %}
|
|
{% from "security/_macros.html" import render_field_with_errors, render_field %}
|
|
|
|
{% block body %}
|
|
<div class="col-md-2" ></div>
|
|
<div class="col-md-8">
|
|
<div class="panel panel-default">
|
|
<div class="panel-body">
|
|
<h3>Register</h3>
|
|
<form class='form-horizontal' action="{{ url_for_security('register') }}" 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 %}
|
|
{{ render_field_with_errors(register_user_form.submit) }}
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-2" ></div>
|
|
{% endblock %}
|