19 lines
424 B
HTML
19 lines
424 B
HTML
|
{% extends "base.html" %}
|
||
|
{% block titre %}Ajouter un morceau{% endblock %}
|
||
|
{% block content %}<h1>Ajouter un morceau</h1>
|
||
|
{% if sauvegarde %}
|
||
|
<p>Morceau créé</p>
|
||
|
{% endif %}
|
||
|
{% if error %}
|
||
|
<p> {{ error }}</p>
|
||
|
{% endif %}
|
||
|
<p>
|
||
|
<form method="post" action="{% url 'partitions.views.ajouter_morceau' %}">
|
||
|
{% csrf_token %}
|
||
|
{{ form.as_p }}
|
||
|
<input type="submit" value="Ajouter"/>
|
||
|
</form>
|
||
|
</p>
|
||
|
|
||
|
{% endblock %}
|