partitioncloud-server/partitioncloud/templates/components/add_partition.html

13 lines
645 B
HTML
Raw Normal View History

<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">
<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 %}
{% include 'components/input_file.html' %}
2024-01-25 16:22:04 +01:00
{% endif %}
<input type="submit" value="{{ _('Add') }}" />
2024-01-25 16:22:04 +01:00
</form>