aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authornanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-22 04:37:34 +0000
committernanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-22 04:37:34 +0000
commitc3028ee8f1a7050f7519c50d3687ac832d9075ab (patch)
treed3a8a8b060a5e644dae99a4f2544f05ae854d638 /views
parent21b3b50f84e7c4c4d30f2e5c73a444a0288e1c5d (diff)
Updated passport
Diffstat (limited to 'views')
-rw-r--r--views/signup.hbs23
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">