From cf5df6590d16e5d78f031fa276d888c91e5367e6 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 23 Oct 2014 09:50:38 -0400 Subject: [PATCH] Bug 5685: [OPAC follow-up] Validation of email address field This patch makes a few changes to the way errors are handled in the OPAC: - The validation plugin has been moved from the global include file to the template itself. Since we aren't doing form validation on any other page yet it doesn't make sense to include it globally at this time. - The error message which appears if you have JavaScript disabled and have submitted invalid emails was styled in a non-standard way. - I have added in-page links to the error message which appears if you have JavaScript disabled so that you can click to jump to the field which contains the error. - I have modified the error message language slightly to make it (I hope) read better. Signed-off-by: Nicole Engard Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- .../opac-tmpl/bootstrap/en/includes/opac-bottom.inc | 1 - .../bootstrap/en/modules/opac-memberentry.tt | 11 ++++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc index f4696da490..1d350ea77d 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc @@ -79,7 +79,6 @@ -