From 3ab73a6823bb5ce0b226a9fa96d4a924d9baf996 Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Mon, 5 Sep 2011 18:29:39 +0100 Subject: use class to identify forms to be validate and do initial validation for update and sign-in --- templates/web/default/around/display_location.html | 2 +- templates/web/default/auth/general.html | 4 ++-- templates/web/default/js_validation_msgs.html | 5 +++++ templates/web/default/report/display.html | 6 +++--- templates/web/default/report/new/fill_in_details.html | 4 ++-- web/js/fixmystreet.js | 2 +- 6 files changed, 14 insertions(+), 9 deletions(-) diff --git a/templates/web/default/around/display_location.html b/templates/web/default/around/display_location.html index 242253ab8..4026286ce 100755 --- a/templates/web/default/around/display_location.html +++ b/templates/web/default/around/display_location.html @@ -35,7 +35,7 @@ robots => 'noindex,nofollow'; %] -
+ [% IF c.req.params.map_override %] [% END %] diff --git a/templates/web/default/auth/general.html b/templates/web/default/auth/general.html index 234aadf52..607eebd2d 100644 --- a/templates/web/default/auth/general.html +++ b/templates/web/default/auth/general.html @@ -2,7 +2,7 @@

[% loc('Sign in') %]

- + [% IF email_error; @@ -25,7 +25,7 @@
- +
diff --git a/templates/web/default/js_validation_msgs.html b/templates/web/default/js_validation_msgs.html index 140f22964..2466ce175 100644 --- a/templates/web/default/js_validation_msgs.html +++ b/templates/web/default/js_validation_msgs.html @@ -1,5 +1,6 @@