changed form to form.as_p in template for better formating

This commit is contained in:
aeltheos 2021-10-07 16:50:35 +02:00
parent 2db323f74d
commit aeb9cafd40

View file

@ -2,7 +2,7 @@
{% block content %} {% block content %}
<h1>Création d'utilisateur</h1> <h1>Création d'utilisateur</h1>
<form action = '' method="post">{% csrf_token %} <form action = '' method="post">{% csrf_token %}
{{ form }} {{ form.as_p }}
<br> <br>
<input type="submit" value="Envoyer"> <input type="submit" value="Envoyer">
</form> </form>