Bug 40413: Add "Required" label to patron list input

This patch adds the "Required" label to the patron list name field in
the form for creating a patron list. This makes it consistent with other
forms which has required fields.

To test, apply the patch and go to Tools -> Patron lists -> New patron
list.

The "Name" field should have a red label "Required" after it.

Sponsored-by: Athens County Public Libraries
Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 7addabbb12)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Owen Leonard 2025-07-30 18:22:39 +00:00 committed by Paul Derscheid
parent 9104d5e046
commit 09ff6086c0
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@
<li>
<label class="required" for="list-name">Name:</label>
<input id="list-name" name="name" type="text" class="required" required="required" value="[% list.name | html %]" />
<span class="required">Required</span>
</li>
<li>