Bug 35212: Correct mismatched label on identity provider entry form

This patch corrects the identity provider form so that the label for the
"Allow staff" field has the correct "for" attribute. Currently it is a
duplicate of the one for the "Allow OPAC" field.

To test, apply the patch and go to Administration -> Identity providers.

- Click "New identity provider"
- Near the bottom of the form, look for the "Allow staff" field.
- Clicking the "Allow staff" label should activate the corresponding
  dropdown.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Owen Leonard 2023-11-01 10:21:41 +00:00 committed by Tomas Cohen Arazi
parent 9a39c181df
commit 15f0dc2c2a
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@
<div class="hint">Allow OPAC access to users from this domain to login with this identity provider.</div>
</li>
<li>
<label for="allow_opac">Allow staff: </label>
<label for="allow_staff">Allow staff: </label>
<select name="allow_staff" id="allow_staff">
<option value="1">Yes</option>
<option value="0" selected="selected">No</option>