skip queue
This commit is contained in:
@@ -41,14 +41,19 @@ Stemmen
|
||||
></a>
|
||||
</div>
|
||||
</fieldset>
|
||||
<div class="skip-wrapper">
|
||||
{% if not skipped %}
|
||||
{% csrf_token %}
|
||||
<button class="skip" hx-post="{% url 'skip' %}" >Skip</button>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="undo-wrapper" hx-vals='{"spotify_id": "{{ undo.track.id }}"}' >
|
||||
{% if undo %}
|
||||
<!--<form class="undo-wrapper" method="post" action="{% url 'undo' %}" hx-vals='{"spotify_id": "{{ undo.track.id }}"}' >-->
|
||||
<div class="undo-wrapper" hx-vals='{"spotify_id": "{{ undo.track.id }}"}' >
|
||||
{% csrf_token %}
|
||||
<p>Je hebt {{undo.track}} een score van {{undo.points}} sterren gegeven!</p>
|
||||
<button class="undo" hx-post="{% url 'undo' %}" >Undo</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
|
||||
Reference in New Issue
Block a user