From 240bb3fc25c0c161d0ad383a4378ff78cc30f78c Mon Sep 17 00:00:00 2001 From: Razmig Sarkissian Date: Mon, 3 Nov 2025 17:10:04 +0100 Subject: [PATCH] Add admin template for setting club for multiple events --- .../admin/tournaments/set_club_action.html | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 tournaments/templates/admin/tournaments/set_club_action.html diff --git a/tournaments/templates/admin/tournaments/set_club_action.html b/tournaments/templates/admin/tournaments/set_club_action.html new file mode 100644 index 0000000..a0e68dd --- /dev/null +++ b/tournaments/templates/admin/tournaments/set_club_action.html @@ -0,0 +1,66 @@ +{% extends "admin/base_site.html" %} +{% load static %} + +{% block extrahead %} + {{ block.super }} + {{ form.media }} +{% endblock %} + +{% block content %} +

{{ title }}

+ +

You are about to set the club for the following {{ events|length }} event(s):

+ +
+ +
+ +
+ {% csrf_token %} + +
+
+ {{ form.club.errors }} +
+ +
{{ form.club.help_text }}
+ {{ form.club }} +
+
+
+ +
+ + + Cancel +
+
+{% endblock %}