spradio-server-django/savepointradio/radio/templates/admin/remove_artists_intermediate.html

43 lines
No EOL
1.2 KiB
HTML

{% extends "admin/base_site.html" %}
{% block content %}
<form action="" method="post">
{% csrf_token %}
{{ artist_formset.management_form }}
<table>
<thead>
<tr>
<th colspan="2">
<p>Select up to ten artists to remove from the songs below:</p>
</th>
</tr>
</thead>
{% for form in artist_formset %}
{{ form }}
{% endfor %}
</table>
<table>
<thead>
<tr>
<th>
<p>Artists will be removed from the following songs:</p>
</th>
</tr>
</thead>
<tbody>
{% for song in songs %}
<tr>
<th>
{{ song }}
<input type="hidden" name="_selected_action" value="{{ song.pk }}" />
</th>
</tr>
{% endfor %}
</tbody>
</table>
<input type="hidden" name="action" value="remove_artists" />
<a href="./"><input type="button" name="Cancel" value="Cancel"></a>
<input type="submit" name="apply" value="Remove Artists" />
</form>
{% endblock %}