Skip to content

Commit

Permalink
feat-hide buttons
Browse files Browse the repository at this point in the history
Hide the form for co-speaker that contains buttons of decision Accepted/Declined selection.
  • Loading branch information
SivanYeh committed Apr 24, 2024
1 parent 0e62e90 commit 8eb2728
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<td>{{ speaker_info.get_status_display }}</td>
<td>
<form method="post"
action="{% url 'additional_speaker_set_status' pk=speaker_info.pk %}">
action="{% url 'additional_speaker_set_status' pk=speaker_info.pk %}" hidden>
{% csrf_token %}
{% if speaker_info.status != 'accepted' %}
<button type="submit" name="status" value="accepted"
Expand Down

0 comments on commit 8eb2728

Please sign in to comment.