Fix registration form

pull/1/head
Luca 3 years ago
parent e0435df07d
commit 0da9d981c8

@ -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 %}

Loading…
Cancel
Save