Bug 23778: Regression: Guarantor entry section no longer has a unique id

This patch adds back a fieldset ID which was accidentally removed by Bug
14570:

<fieldset id="memberentry_guarantor" class="rows">

This ID is important if libraries want to customize the patron entry
page to hide the guarantor section.

To test, apply the patch and go to Patrons -> New patron.

Inspect the markup and look at the fieldset labeled "Guarantor
information." It should have the correct ID attribute.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Owen Leonard 2019-10-08 14:18:01 +00:00 committed by Martin Renvoize
parent 759790c97a
commit bc9871f428
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -320,7 +320,7 @@
[% IF show_guarantor || guarantor %] [% IF show_guarantor || guarantor %]
[% SET possible_relationships = Koha.Preference('borrowerRelationship') %] [% SET possible_relationships = Koha.Preference('borrowerRelationship') %]
<fieldset class="rows"> <fieldset id="memberentry_guarantor" class="rows">
<legend>Guarantor information</legend> <legend>Guarantor information</legend>
<span id="guarantor_relationships"> <span id="guarantor_relationships">