14 lines
396 B
HTML
14 lines
396 B
HTML
|
{% extends "base.html" %}
|
||
|
|
||
|
{%block titre %}Ajout d'un pad{% endblock %}
|
||
|
|
||
|
{% block content %}
|
||
|
<p><a href="{% url "pads.views.liste_pads" %}">Retour à la liste</a></p>
|
||
|
{% if envoi %}<p>Ce pad a été enregistré.{% endif %}
|
||
|
<form action="{% url 'pads.views.add_pad' %}" method="post">
|
||
|
{% csrf_token %}
|
||
|
{{ form.as_p }}
|
||
|
<input type="submit" value="Enregistrer" />
|
||
|
</form>
|
||
|
{% endblock %}
|