From f4416afca4d4c129485a3dcb74d7dc47dbc9cf3a Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 10 Jun 2013 11:14:41 -0400 Subject: [PATCH] Bug 10297 - categorycode and branchcode should be required when adding patrons Content-Type: text/plain; charset="utf-8" categorycode and branchcode should show as required under all circumstances, not just when they are included in the BorrowerMandatoryField system preference. This patch adds the correct classes and hints to those fields. To test, view the patron entry form for a new or existing patron. Category and Library should show that they are required. --- .../prog/en/modules/members/memberentrygen.tt | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) 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 6b293f1..1bb8e3e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -989,13 +989,8 @@ [% END %] [% UNLESS nobranchcode %]
  • - [%- IF ( mandatorybranchcode ) -%] -
  • [% END %]
  • - + + Required
  • [% UNLESS nosort1 %]
  • -- 1.7.9.5