[% IF action == 'edit' %]
[% ELSE %]
[% END %]
[% IF action == 'edit' %]
[% UNLESS OPACPatronDetails %]
To make changes to your record please contact the library.
[% END %]
[% IF nochanges %]
No changes were made.
[% END %]
[% END %]
[% IF empty_mandatory_fields %]
You have not filled out all required fields. Please fill in all missing fields and resubmit.
[% END %]
[% IF invalid_form_fields %]
The following fields contain invalid information:
[% END %]
[% IF cardnumber_wrong_length || cardnumber_already_exists %]
-
[% FOREACH field IN invalid_form_fields %]
[% IF field == "email" %]
- Contact information: primary email address [% END %] [% IF field == "emailpro" %]
- Contact information: secondary email address [% END %] [% IF field == "B_email" %]
- Alternate address information: email address [% END %] [% IF field == "password_match" %]
- Passwords do not match! password [% END %] [% IF field == "password_invalid" %]
- Password does not meet minimum requirements! password [% END %] [% IF field == "password_spaces" %]
- Password contains leading and/or trailing spaces! password [% END %] [% IF field == "duplicate_email" %]
- This email address already exists in our database. [% END %] [% END %]
[% IF cardnumber_wrong_length %]
The entered card number is the wrong length.
[% ELSIF cardnumber_already_exists %]
The entered card number is already in use.
[% END %]
Please correct and resubmit.
[% END %]
[% IF failed_captcha %]
You typed in the wrong characters in the box before submitting. Please try again.
[% END %]
[% IF borrower.guarantorid && !Koha.Preference('OPACPrivacy') && Koha.Preference('AllowPatronToSetCheckoutsVisibilityForGuarantor') %]
[% END %]