2024-01-26 09:48:11 +01:00
|
|
|
<h2>{{ _("Add a score to %(name)s", name=album.name) }}</h2>
|
2024-01-25 16:22:04 +01:00
|
|
|
|
|
|
|
<form action="/albums/{{ album.uuid }}/add-partition" method="post" enctype="multipart/form-data">
|
2024-01-26 09:48:11 +01:00
|
|
|
<input name="name" type="text" placeholder="{{ _('title') }}" required/><br/>
|
|
|
|
<input name="author" type="text" placeholder="{{ _('author') }}"/><br/>
|
|
|
|
<textarea id="lyrics" name="body" type="text" placeholder="{{ _('lyrics') }}"></textarea><br/>
|
2024-01-25 16:22:04 +01:00
|
|
|
{% if partition_uuid %}
|
|
|
|
<input name="partition-uuid" value="{{ partition_uuid }}" type="hidden">
|
2024-01-26 11:14:43 +01:00
|
|
|
{% else %}
|
|
|
|
<input name="file" type="file" accept=".pdf" required=""><br/>
|
2024-01-25 16:22:04 +01:00
|
|
|
{% endif %}
|
2024-01-26 09:48:11 +01:00
|
|
|
<input type="submit" value="{{ _('Add') }}" />
|
2024-01-25 16:22:04 +01:00
|
|
|
</form>
|