re-add multiple event views, add message for success

This commit is contained in:
2022-06-06 20:19:03 -05:00
parent b927157bb0
commit f42f81d280
6 changed files with 124 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
<div class="card mx-auto benchcoach-lineup" style="max-width: 455px" id="benchcoach-lineup-{{ event_id }}">
<form method="post" action="">
<form method="post" action='{% url 'teamsnap_submit_lineup' team_id=event.data.team_id event_id=event.data.id %}' id="form-lineup-{{ event.data.id }}">
{{ formset.management_form }}
{% csrf_token %}
<div class="border-bottom p-2">
@@ -71,7 +71,6 @@
</div>
{% include 'lineup/widgets/lineup_table.html' with formset=formset_out table_id="benchcoach-out" %}
</div>
</form>
</div>