[% 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 %][% message %]
[% END %]
[% END %]