diff options
Diffstat (limited to 'ishtar_common/templates/registration/form.html')
-rw-r--r-- | ishtar_common/templates/registration/form.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/ishtar_common/templates/registration/form.html b/ishtar_common/templates/registration/form.html new file mode 100644 index 000000000..f75a82c0f --- /dev/null +++ b/ishtar_common/templates/registration/form.html @@ -0,0 +1,34 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block content %} +<div class="container"> + <div class="row justify-content-center"> + <div class="col-lg-4 col-md-6 col-sm-10"> + <h3 class="text-center">{{page_title}}</h3> + <form method="post" action=".">{% csrf_token %} + {% if form.non_field_errors %} + <div class="form-group row"> + {% for error in form.non_field_errors %} + <div class="form-group has-errors text-danger small"> + {{error}} + </div> + {% endfor %} + </div> + {% endif %} + {% with force_large_col=True %} + {% for field in form %} + {% include "blocks/bs_field_snippet.html" %} + {% endfor %} + {% endwith %} + + <div class="row justify-content-center"> + <div class="col-4"> + <button type="submit" class="btn btn-primary">{% trans 'Validate' %}</button> + </div> + </div> + </form> + </div> + </div> +</div> +{% endblock %} |