Collection [% createdTitle | html %] failed to be added
[% IF failureMessage == "NO_TITLE" %]
No title entered.
[% ELSIF failureMessage == "DUPLICATE_TITLE" %]
Title already in use.
[% ELSIF failureMessage == "NO_DESCRIPTION" %]
No description entered.
[% ELSE %]
[% failureMessage | html %]
[% END %]
[% END %]
[% END %]
[% IF ( previousActionDelete ) %]
[% IF ( deleteSuccess ) %]
Collection [% updatedTitle | html %] failed to be updated
[% IF failureMessage == "NO_ID" %]
No collection id given.
[% ELSIF failureMessage == "DUPLICATE_TITLE" %]
Title already in use.
[% ELSE %]
[% failureMessage | html %]
[% END %]
[% END %]
[% END %]
[% IF action == "new" || action == "edit" %]
[% IF ( previousActionEdit ) %]