From aaa68ec238d2be845701f6ab406562e985ec1312 Mon Sep 17 00:00:00 2001
From: George Katsikas <giorgakis.katsikas@gmail.com>
Date: Thu, 8 Jun 2023 18:08:04 +0200
Subject: [PATCH] add bulk action form

---
 .../_productionstream_details_summary_contents.html         | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/scipost_django/production/templates/production/_productionstream_details_summary_contents.html b/scipost_django/production/templates/production/_productionstream_details_summary_contents.html
index a6ee8f1f9..785311ad1 100644
--- a/scipost_django/production/templates/production/_productionstream_details_summary_contents.html
+++ b/scipost_django/production/templates/production/_productionstream_details_summary_contents.html
@@ -4,8 +4,10 @@
             <div class="col-auto">
                 <input type="checkbox"
                        class="form-check-input checkbox-lg"
-                       name="productionstream-{{ productionstream.id }}-checkbox"
-                       id="productionstream-{{ productionstream.id }}-checkbox">
+                       name="productionstream-bulk-action"
+                       value="{{ productionstream.id }}"
+                       id="productionstream-{{ productionstream.id }}-checkbox"
+                       form="productionstreams-bulk-action-form">
             </div>
             <div class="col text-truncate">
                 <span class="text-truncate">
-- 
GitLab