16 lines
393 B
HTML
16 lines
393 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block titre%}Création d'Évènement{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if envoi %}L'événement a bien été créé !{% endif %}
|
|
<br>
|
|
{% if erreur %}
|
|
{{ erreur }}
|
|
{% endif %}
|
|
<form action="{% url 'calendrier.views.create_event' %}" method="post">
|
|
{% csrf_token %}
|
|
{{ form.as_p }}
|
|
<input type="submit" value="Enregistrer" />
|
|
</form>
|
|
{% endblock %}
|