56 lines
1.4 KiB
HTML
56 lines
1.4 KiB
HTML
{% extends "interface/project_base.html" %}
|
|
{% load polyphonic %}
|
|
|
|
|
|
|
|
{% block page %}
|
|
<h3 class="subtitle"><a href="{% url 'work_detail' collection.pk work.pk %}">{{ work.name }}</a></h3>
|
|
|
|
<p class="block">
|
|
You can generate a custom partset for printing - select the number of copies of each you want...
|
|
</p>
|
|
|
|
<div class="columns is-centered">
|
|
<div class="column is-narrow">
|
|
|
|
<form action="" method="post" target="_blank">
|
|
{% csrf_token %}
|
|
|
|
<table class="table">
|
|
<thead>
|
|
|
|
</thead>
|
|
<tbody>
|
|
{% for tag, name in work.digital_parts %}
|
|
<tr>
|
|
<td>{{ name }}</td>
|
|
<td>
|
|
<input name="parts" type="hidden" value="{{ tag }}">
|
|
<input class="input is-small" name="copies" type="number" value="{% if tag == 'score' %}0{% else %}1{% endif %}">
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
|
|
<div class="field is-grouped">
|
|
<div class="control">
|
|
<button class="button is-link">
|
|
{% icon "print" %}
|
|
<span>Print Set</span>
|
|
</button>
|
|
</div>
|
|
<div class="control">
|
|
<a class="button is-link is-light" href="{% url 'work_detail' collection.pk object.pk %}">
|
|
{% icon "backspace" %}
|
|
<span>Cancel</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|