From 81e415a89b17ddf9b57347de799022808507f41b Mon Sep 17 00:00:00 2001 From: nanalelfe Date: Fri, 26 Aug 2016 19:21:48 -0400 Subject: added validations to the forget password function --- views/password_edit.hbs | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'views/password_edit.hbs') diff --git a/views/password_edit.hbs b/views/password_edit.hbs index 903388a..f5e87ab 100644 --- a/views/password_edit.hbs +++ b/views/password_edit.hbs @@ -5,12 +5,24 @@ {{# if success }}
-

{{success}}

+

{{success}}

{{ else }} {{# if errors }} + {{# if errors.length}} +
+ +
+ {{/if}} + + {{/if}} + {{# if error}}
-

{{errors}}

+

{{error}}

{{/if}} {{/if}} @@ -27,13 +39,13 @@
- +
- +
-- cgit v1.2.3