From: Dan Scott Date: Thu, 30 Aug 2012 15:55:10 +0000 (-0400) Subject: Slightly saner login form markup X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f8eeb41596169628064344b8747ff2687db5420c;p=contrib%2FConifer.git Slightly saner login form markup Try to provide accessibility via label attributes and move from a table-within-a-table layout to a single table for the form. Signed-off-by: Dan Scott --- diff --git a/Open-ILS/src/templates_laurentian/opac/parts/login/form.tt2 b/Open-ILS/src/templates_laurentian/opac/parts/login/form.tt2 new file mode 100644 index 0000000000..1e23a98e40 --- /dev/null +++ b/Open-ILS/src/templates_laurentian/opac/parts/login/form.tt2 @@ -0,0 +1,65 @@ +[% IF ctx.login_failed_event %] +
+[% + IF ctx.login_failed_event.textcode == 'PATRON_CARD_INACTIVE'; + l("The barcode used to login is marked as inactive. Please contact your local library."); + ELSIF ctx.login_failed_event.textcode == 'PATRON_INACTIVE'; + l("This account has been deactivated. Please contact your local library."); + ELSE; + l("Login failed. The username or password provided was not valid. + Ensure Caps-Lock is off and try again or contact your local library."); + END; +%] +
+[% END %] + + +
[% INCLUDE "opac/parts/login/help.tt2" %]