ernestophone.ens.fr/templates/calendrier/create.html

17 lines
393 B
HTML
Raw Normal View History

2015-04-13 18:56:43 +02:00
{% extends "base.html" %}
{% block titre%}Création d'Évènement{% endblock %}
{% block content %}
2015-07-22 22:08:59 +02:00
{% if envoi %}L'événement a bien été créé !{% endif %}
<br>
{% if erreur %}
{{ erreur }}
{% endif %}
2015-04-13 18:56:43 +02:00
<form action="{% url 'calendrier.views.create_event' %}" method="post">
{% csrf_token %}
{{ form.as_p }}
2015-07-22 22:08:59 +02:00
<input type="submit" value="Enregistrer" />
2015-04-13 18:56:43 +02:00
</form>
{% endblock %}