aboutsummaryrefslogtreecommitdiff
path: root/views/reset_password.hbs
diff options
context:
space:
mode:
authorHumairAK <humair88@hotmail.com>2016-08-27 19:43:31 +0000
committerHumairAK <humair88@hotmail.com>2016-08-27 19:43:31 +0000
commit86ca8165abd5a305b27a95525182e25911b6626f (patch)
tree011872689d6d001ed4d61c115d2901204aa2c3ce /views/reset_password.hbs
parent83f233a7fe270dc77893c2df590b2e28ba30fc41 (diff)
parentd94aad5042d2fd09242581f11415de4a978168be (diff)
Merge branch 'master' of https://github.com/HumairAK/solutions_repo
Diffstat (limited to 'views/reset_password.hbs')
-rw-r--r--views/reset_password.hbs18
1 files changed, 15 insertions, 3 deletions
diff --git a/views/reset_password.hbs b/views/reset_password.hbs
index 5526123..9403b04 100644
--- a/views/reset_password.hbs
+++ b/views/reset_password.hbs
@@ -5,12 +5,24 @@
{{# if success }}
<section class="alert alert-success">
<!-- Change those to banners later -->
- <h4>{{success}}</h4>
+ <p>{{success}}</p>
</section>
{{ else }}
{{# if errors }}
+ {{# if errors.length}}
+ <section class="alert alert-danger">
+ <ul>
+ {{# each errors }}
+ <li>{{ this.msg }}</li>
+ {{/each}}
+ </ul>
+ </section>
+ {{/if}}
+
+ {{/if}}
+ {{# if error}}
<section class="alert alert-danger">
- <h4>{{errors}}</h4>
+ <p>{{error}}</p>
</section>
{{/if}}
{{/if}}
@@ -27,7 +39,7 @@
<div class="input-group-addon addon-email-reset">
<i class="fa fa-at" aria-hidden="true"></i>
</div>
- <input type="text" class="form-control input-email-reset" placeholder="email" name="email" required>
+ <input type="text" class="form-control input-email-reset" placeholder="email" name="email">
</div>
</div>
<input type="hidden" name="_csrf" value="{{ csrfToken }}">