Bug 35236: Make "Batch description" label match corresponding <input> field

To test:
  1. Create a new patron.
  2. Go to Tools -> Patron card creator.
  3. Create a new patron card batch.
  4. On the "Edit patron card batch" page, click the "Batch
     description:" label.
  5. Observe that the corresponding <input> field is selected.

Mentored-by: Catalyst Academy
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 558b900895)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Jennifer Sutton 2024-07-25 23:11:16 +00:00 committed by Lucas Gass
parent 528db7e928
commit 54e26935e9
1 changed files with 2 additions and 2 deletions

View File

@ -71,11 +71,11 @@
[% INCLUDE 'csrf-token.inc' %]
<div>
<fieldset class="rows" style="border-bottom: 0px; border: 0px;">
<ol><li id="description">
<ol><li>
<input type="hidden" name="op" value="cud-add" />
<input type="hidden" name="batch_id" value="[% batch_id | html %]" />
<label for="description">Batch description: </label>
<input type="text" name="description" value="[% description | html %]"> <span id="change-status"></span>
<input type="text" id="description" name="description" value="[% description | html %]"> <span id="change-status"></span>
</li><li>
<label for="bor_num_list">Add by borrowernumber(s):
<br /> <span class="hint">One borrowernumber per line.</span>