aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorHumairAK <humair88@hotmail.com>2016-07-26 20:44:06 +0000
committerHumairAK <humair88@hotmail.com>2016-07-26 20:44:06 +0000
commit9c10936cf1420f160a5007c6baad7b25ffb6d014 (patch)
treed3fb09efa5dc25cfe63eb6c4c783f415cba45597 /views
parent3983edb2518acd91f991ad5fc6308bcaf46700f5 (diff)
Added more unit tests, fixed some bugs in the code, fixed voting alert prompts and redirects
Diffstat (limited to 'views')
-rw-r--r--views/index.hbs5
1 files changed, 5 insertions, 0 deletions
diff --git a/views/index.hbs b/views/index.hbs
index 6dffef9..214695b 100644
--- a/views/index.hbs
+++ b/views/index.hbs
@@ -9,6 +9,11 @@
<hr> <!-- Divider -->
<div class="search col-md-8 col-lg-8 col-md-offset-2">
<!-- Search-bar, Drop-down and Prompt -->
+ {{# if messages.error }}
+ <section class="alert alert-danger custom-Alert">
+ <h4>{{ messages.error }}</h4>
+ </section>
+ {{/if}}
{{# if success }}
<section class="alert alert-success">