Bug 32946: (QA follow-up) Fix "Send cart" form
authorKatrin Fischer <katrin.fischer.83@web.de>
Wed, 15 Feb 2023 22:00:59 +0000 (22:00 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 20 Feb 2023 12:44:09 +0000 (09:44 -0300)
The send cart form is almost identical to the list
'Send list' form and requires the exact same fixes
to look good. This patch achieves the same look for
both forms.

To test:
* Fill your cart in the OPAC
* Open the cart to view contents
* Click on "Send"
* The form shoud look nicely aligned
* Compary to form for sending lists, they should look the same

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasketform.tt

index 907d930..577f149 100644 (file)
 
                         [% ELSE %]
                             <form action="/cgi-bin/koha/opac-sendbasket.pl" method="post" id="sendbasketform">
-                                <legend><h1>Sending your cart</h1></legend>
-                                <fieldset>
+                                <fieldset class="brief">
+                                    <legend><h1>Sending your cart</h1></legend>
                                     <label for="email_add">Email address:</label>
-                                    <input type="text" id="email_add" name="email_add" size="43" class="focus" />
+                                    <input type="text" id="email_add" name="email_add" size="43" class="focus form-control" />
                                     <label for="comment">Comment:</label>
-                                    <textarea id="comment" name="comment" rows="4" cols="40"></textarea>
+                                    <textarea id="comment" name="comment" rows="4" cols="40" class="form-control"></textarea>
                                     <input type="hidden" name="bib_list" value="[% bib_list | html %]" />
                                     <input type="hidden" name="csrf_token" value="[% csrf_token | html %]" />
                                 </fieldset>