Limite autorisation de commentaire aux pers. autorisées

This commit is contained in:
Claude Paroz 2019-02-07 09:24:55 +01:00
parent 6dfc3c6e42
commit f11d20c2f9
6 changed files with 66 additions and 4 deletions

View file

@ -43,6 +43,7 @@ input[name$='titre'] { width: 40em; }
<div class="block"><span class="label">Orientation :</span> {{ student.option_ase }}</div>
{% endif %}
{% if form %}
<form method="post" action="." enctype="multipart/form-data">{% csrf_token %}
{{ form.as_p }}
@ -52,5 +53,6 @@ input[name$='titre'] { width: 40em; }
{% endfor %}
<button class="button" type="submit">Enregistrer</button>
</form>
{% endif %}
{% endblock %}