mirror of
https://github.com/partitioncloud/partitioncloud-server.git
synced 2025-01-24 17:56:25 +01:00
22 lines
663 B
HTML
22 lines
663 B
HTML
{% extends 'base.html' %}
|
|
|
|
{% block header %}
|
|
<h1>{% block title %}Ajouter une partition à {{ album.name }}{% endblock %}</h1>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<form action="/albums/{{ album.uuid }}/add-partition" method="post" enctype="multipart/form-data">
|
|
Titre*
|
|
<input name="name" type="text" required />
|
|
Auteur
|
|
<input name="author" type="text" />
|
|
Paroles
|
|
<textarea name="body" type="text"></textarea>
|
|
{% if partition_uuid %}
|
|
<input name="partition-uuid" value="{{ partition_uuid }}" type="hidden">
|
|
{% else %}
|
|
<input name="file" type="file" required />
|
|
{% endif %}
|
|
<input type="submit" value="Ajouter" />
|
|
</form>
|
|
{% endblock %} |