diff options
| author | HumairAK <humair88@hotmail.com> | 2016-07-22 04:59:42 +0000 |
|---|---|---|
| committer | HumairAK <humair88@hotmail.com> | 2016-07-22 04:59:42 +0000 |
| commit | dcde34904acf5722a19559bb06052061723c2110 (patch) | |
| tree | 3d8b471b9e39d3f8ce6318294b75eef35932d576 /views | |
| parent | 05368e45b7d06bb6833577194de62dea7787ef9e (diff) | |
| parent | bfd3ed8dff51c70ab3a18bee286a1e4c01c95cbc (diff) | |
resolved conflict
Diffstat (limited to 'views')
| -rw-r--r-- | views/signup.hbs | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/views/signup.hbs b/views/signup.hbs index b5fd363..24fad1f 100644 --- a/views/signup.hbs +++ b/views/signup.hbs @@ -3,14 +3,23 @@ <div class="row" id="solutions-main"> <div class="col-md-4 col-md-offset-4 col-sm-6 col-sm-offset-3"> - - {{# if hasErrors}} - <div class="alert alert-danger"> - {{# each messages}} - <p>{{this}}</p> - {{/each}} - </div> + {{# if success }} + <section class="alert alert-success"> + <!-- Change those to banners later --> + <h2>Signup Successful!</h2> + </section> + {{ else }} + {{# if errors }} + <section class="alert alert-danger"> + <ul> + {{# each errors }} + <li>{{ this.msg }}</li> + {{/each}} + </ul> + </section> + {{/if}} {{/if}} + <h2><i class="fa fa-user-plus" aria-hidden="true"></i> Sign Up</h2> <form action="/signup" method="post"> <div class="form-group"> |
