Only allow choosing purchases of selected edition
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-11-15 14:25:42 +01:00
parent 8783d1fc8e
commit 3f037b4c7c
7 changed files with 32 additions and 3 deletions

View File

@ -13,7 +13,7 @@
<link rel="stylesheet" href="{% static 'base.css' %}" />
</head>
<body class="dark">
<body class="dark" hx-indicator="#indicator">
<img id="indicator" src="{% static 'icons/loading.png' %}" class="absolute right-3 top-3 animate-spin htmx-indicator" />
<div class="dark:bg-gray-800 min-h-screen">
<nav class="mb-4 bg-white dark:bg-gray-900 border-gray-200 rounded">

View File

@ -12,7 +12,6 @@
id="last-session-start"
href="{% url 'start_session_same_as_last' last.id %}"
hx-get="{% url 'start_session_same_as_last' last.id %}"
hx-indicator="#indicator"
hx-swap="afterbegin"
hx-target=".responsive-table tbody"
hx-select=".responsive-table tbody tr:first-child"

View File

@ -0,0 +1 @@
{{ form.related_purchase }}