Bug 39782: Add gender label to patron registration form radio buttons

This fixes the patron registration form in the staff interface. There is
no "Gender" label before the radio buttons.

Test plan:
1. Go to Patrons > +New patron > [Select any patron type]
   (http://localhost:8081/cgi-bin/koha/opac-memberentry.pl).
2. In the patron identity section you will see four radio buttons used
   to choose a gender. Note that there is no label next to the buttons.
3. Apply the patch and refresh the page..
4. The label "Gender" is now visible next to the radio buttons.
5. Sign off and have an amazing day! :D

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Laura_Escamilla 2025-04-29 20:33:07 +00:00 committed by Katrin Fischer
parent 9e3413f6fb
commit aff28d9fa6
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 1 additions and 0 deletions

View File

@ -427,6 +427,7 @@
[% UNLESS ( patron_category.category_type == 'I' ) %]
[% UNLESS nosex %]
<li class="radio">
<label for="gender">Gender:</label>
[% UNLESS ( op == 'duplicate' ) %]
[% IF ( female ) %]
<label for="sex-female"><input type="radio" name="sex" id="sex-female" value="F" checked="checked" /><span class="patronsex-female"> Female</span></label>