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>
(cherry picked from commit 15f0dc2c2a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Owen Leonard 2023-11-01 10:21:41 +00:00 committed by Fridolin Somers
parent 12b3efca7b
commit ddc3c4172a

View file

@ -195,7 +195,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>