diff options
| author | HumairAK <humair88@hotmail.com> | 2016-07-22 08:19:01 +0000 |
|---|---|---|
| committer | HumairAK <humair88@hotmail.com> | 2016-07-22 08:19:01 +0000 |
| commit | 92c187a6a79e5e45dcfd41ff4f711b4beadcc252 (patch) | |
| tree | 080598f34d736580571c9325c66a40ffb9ede9e3 /views | |
| parent | e12c4639ce6ad2bd1333ee0f0ae07f12c1db2e73 (diff) | |
Added error messages
Diffstat (limited to 'views')
| -rw-r--r-- | views/signup.hbs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/views/signup.hbs b/views/signup.hbs index 24fad1f..d14b1f6 100644 --- a/views/signup.hbs +++ b/views/signup.hbs @@ -11,7 +11,7 @@ {{ else }} {{# if errors }} <section class="alert alert-danger"> - <ul> + <ul> {{# each errors }} <li>{{ this.msg }}</li> {{/each}} @@ -19,6 +19,13 @@ </section> {{/if}} {{/if}} + {{#if flashMsg}} + <section class="alert alert-danger"> + {{flashMsg}} + </section> + {{/if}} + + <h2><i class="fa fa-user-plus" aria-hidden="true"></i> Sign Up</h2> <form action="/signup" method="post"> |
