| {% extends 'admin/master.html' %} |
| {% from "security/_macros.html" import render_field_with_errors, render_field %} |
| {% include "security/_messages.html" %} |
| {% block body %} |
| {{ super() }} |
| <section class="content" style="max-width: 800px; max-height: 800px"> |
| <div class="col-sm-8 col-sm-offset-2" style="margin-top: calc(100% / 6)"> |
| <div class="well" style="padding: 44px"> |
| <h1 class="text-center">Register</h1> |
| <form 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(register_user_form.submit, class="btn btn-primary btn-block") }} |
| </form> |
| <p> Already have an account? <a href="{{ url_for('security.login') }}">Login</a></p> |
| </div> |
| </div> |
| </section> |
| {% endblock body %} |
|
|