[% FOR m IN messages %] [% SWITCH m.code %] [% CASE 'success_on_insert_library' %]
Library created!
[% CASE 'error_on_insert_library' %]
Library already exists and cannot be modified!
[% CASE 'success_on_insert_category' %]
Patron category created!
[% CASE 'error_on_insert_category' %]
Patron category already exists and cannot be modified!
[% CASE 'success_on_insert_patron' %]
Administrator account created!
[% CASE 'error_on_insert_patron' %]
The patron has not been created! Cardnumber or Userid may already exist.
[% CASE 'ERROR_cardnumber_already_exists' %]
Card number already in use.
[% CASE 'ERROR_cardnumber_length' %]
Card number length is incorrect.
[% CASE 'ERROR_password_mismatch' %]
Passwords do not match.
[% CASE 'success_on_insert_itemtype' %]
New item type created!
[% CASE 'error_on_insert_itemtype' %]
Item type already exists!
[% CASE 'success_on_insert_circ_rule' %]
Circulation rule created!
[% CASE 'error_on_insert_circ_rule' %]
Circulation rule not created!
[% CASE 'ERROR_password_too_short' %]
The patron has not been created the entered password was too short
[% CASE 'ERROR_password_too_weak' %]
The patron has not been created the entered password was too weak, must contain at least one uppercase, and lower case letter and one number
[% CASE 'ERROR_password_has_whitespaces' %]
The patron has not been created the entered password contained whitespaces
[% CASE %][% message | html %] [% END %] [% END %]