diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-07-07 16:44:48 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-07-07 16:50:43 +0200 |
| commit | 44331719a2adb1f5469020525607741342ddacfa (patch) | |
| tree | 331b1c96972725063fc8e4aa3008d460db15fa19 /ishtar_common/templates/registration/form.html | |
| parent | 094fe62c11afbfbb87af0c320935f816ef8a758e (diff) | |
| download | Ishtar-44331719a2adb1f5469020525607741342ddacfa.tar.bz2 Ishtar-44331719a2adb1f5469020525607741342ddacfa.zip | |
💄 open registration form: disabled by default - improve layout
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 %} |
