From 7f2cfa8d023fb22b12e316eb64aa0d29631a4759 Mon Sep 17 00:00:00 2001
From: Nick Clemens <nick@bywatersolutions.com>
Date: Thu, 2 Nov 2023 19:10:02 +0000
Subject: [PATCH] Bug 17798: Add fieldset for 'Yes, check out (Y)'

With the increased text, the buttons don't arrange neatly. Adding a fieldset around the options for 'Yes' mitigates this somewhat - it could do with a bit more styling, however, it also fixes bug 23953

To test:
Confirm the 'Yes' options are more clear that they only affect the yes button
Confirm the other buttons arrange nicely
---
 koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
index e707b798129..8fae6998e55 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
@@ -248,6 +248,7 @@
 
                             [% IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
                                 <form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off">
+                                    <fieldset>
                                     <input type="hidden" name="restoreduedatespec" />
 
                                     [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %]
@@ -335,6 +336,7 @@
 
                                     <input type="hidden" name="onsite_checkout" value="[% onsite_checkout | html %]" />
                                     <input type="hidden" name="auto_renew" value="[% auto_renew | html %]" />
+                                    </fieldset>
                                 </form>
                             [% END # /IF CAN_user_circulate_force_checkout or HIGHHOLDS %]
 
-- 
2.30.2