aboutsummaryrefslogtreecommitdiff
path: root/views/user_profile_alt.hbs
diff options
context:
space:
mode:
authornanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-27 09:58:01 +0000
committernanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-27 09:58:01 +0000
commite0c52738c6495490ce6c5f8fff0d9ad14a6a944f (patch)
tree61ef58698d17d2aeb4d5f457acf8d4b08e39ff01 /views/user_profile_alt.hbs
parent197e17a7bcbb5459897b7f334a790706c064c31c (diff)
Fixed so that cannot submit empty solution. Changed to textarea to type in solution.
Diffstat (limited to 'views/user_profile_alt.hbs')
-rw-r--r--views/user_profile_alt.hbs24
1 files changed, 12 insertions, 12 deletions
diff --git a/views/user_profile_alt.hbs b/views/user_profile_alt.hbs
index cf657db..a193062 100644
--- a/views/user_profile_alt.hbs
+++ b/views/user_profile_alt.hbs
@@ -44,6 +44,18 @@
class="img-circle img-responsive">
</div> -->
<!-- User Details -->
+ {{# if messages.success }}
+ <section class="alert alert-success">
+ <!-- Change those to banners later -->
+ <h3>{{ messages.success }}</h3>
+ </section>
+ {{ else }}
+ {{# if messages.error }}
+ <section class="alert alert-danger">
+ <h3>{{ messages.error }}</h3>
+ </section>
+ {{/if}}
+ {{/if}}
<div>
<table class="table table-user-information">
<tbody>
@@ -157,18 +169,6 @@
</div>
-->
<div class="row" id="profile-send-message">
- {{# if messages.success }}
- <section class="alert alert-success">
- <!-- Change those to banners later -->
- <h3>{{ messages.success }}</h3>
- </section>
- {{ else }}
- {{# if messages.error }}
- <section class="alert alert-danger">
- <h3>{{ messages.error }}</h3>
- </section>
- {{/if}}
- {{/if}}
<h3>Send Message</h3>
<div class="col-xs-offset-1 col-sm-offset-3 col-xs-10 col-sm-6">