2
0
Fork 0

Fix registration form

This commit is contained in:
Luca 2022-04-27 21:46:52 +02:00
parent e0435df07d
commit 0da9d981c8
1 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,7 @@
{% extends "helper_base.html" %} {% extends "helper_base.html" %}
{% block title %}Registrierung{% endblock %} {% block title %}Registrierung{% endblock %}
{% block content %} {% block content %}
<form action="" method="post"> <form action="" method="post">
{% csrf_token %} {% csrf_token %}
@ -16,11 +17,11 @@
{{ field }} {{ field }}
</div> </div>
{% endif %} {% endif %}
{%for error in field.errors %} {% for error in field.errors %}
<p class="is-danger help"> {{ error }} </div> <p class="help is-danger"> {{ error }}</p>
{% endfor %} {% endfor %}
{% if field.help_text %} {% if field.help_text %}
<p class="is-size-7 mt-1">{{ field.help_text }}</p> <p class="help">{{ field.help_text }}</p>
{% endif %} {% endif %}
</div> </div>
{% endfor %} {% endfor %}