From 91460e6da0e31f815f091ba10d07115253dabd25 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 5 Dec 2019 11:27:16 +0100 Subject: [PATCH] Bug 22844: (follow-up) Make the attribute mandatory when editing a patron Previous patch forgot the most important, adding the required attribute to the select/textarea --- koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index 5ead1db703..87749f5023 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1131,7 +1131,11 @@ [% END %] [% IF ( patron_attribute.use_dropdown ) %] + [% IF patron_attribute.mandatory %] + + [% END %] [% FOREACH auth_val_loo IN patron_attribute.auth_val_loop %] [% IF auth_val_loo.authorised_value == patron_attribute.value %] @@ -1146,7 +1150,11 @@ [% END %] [% ELSE %] + [% IF patron_attribute.mandatory %] + + [% ELSE %] + [% END %] [% END %] Clear -- 2.11.0