2022-08-16 00:00:20 +02:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
|
|
|
|
{% block header %}
|
2022-08-16 15:21:12 +02:00
|
|
|
<h1>{% block title %}Ajouter une partition à {{ album.name }}{% endblock %}</h1>
|
2022-08-16 00:00:20 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2022-08-17 23:52:58 +02:00
|
|
|
<form action="/albums/{{ album.uuid }}/add-partition" method="post" enctype="multipart/form-data">
|
2022-08-16 15:21:12 +02:00
|
|
|
Titre*
|
|
|
|
<input name="name" type="text" required />
|
|
|
|
Auteur
|
|
|
|
<input name="author" type="text" />
|
|
|
|
Paroles
|
2022-12-18 22:40:07 +01:00
|
|
|
<textarea id="paroles" name="body" type="text"></textarea>
|
2022-08-17 23:52:58 +02:00
|
|
|
{% if partition_uuid %}
|
|
|
|
<input name="partition-uuid" value="{{ partition_uuid }}" type="hidden">
|
|
|
|
{% else %}
|
|
|
|
<input name="file" type="file" required />
|
|
|
|
{% endif %}
|
2022-08-16 15:21:12 +02:00
|
|
|
<input type="submit" value="Ajouter" />
|
|
|
|
</form>
|
2022-08-16 00:00:20 +02:00
|
|
|
{% endblock %}
|