diff options
| author | HumairAK <humair88@hotmail.com> | 2016-07-27 00:18:22 +0000 |
|---|---|---|
| committer | HumairAK <humair88@hotmail.com> | 2016-07-27 00:18:22 +0000 |
| commit | 38594fd274a4bebee75ae71dbed457b39d253cae (patch) | |
| tree | 52600020d82067ed66975f137c9ce7920a83aa90 /views/error.hbs | |
| parent | b65166302f5296165da115ed96ce112433157a2d (diff) | |
fixed false exam path search for solutions, minor change to db function
Diffstat (limited to 'views/error.hbs')
| -rw-r--r-- | views/error.hbs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/views/error.hbs b/views/error.hbs index 062b947..cb2db5d 100644 --- a/views/error.hbs +++ b/views/error.hbs @@ -1,5 +1,12 @@ <main id = 'solutions-main'> <div class = 'search container' id = 'solutions-div'> - <h4>Sorry, we could not find {{ url }}</h4> + {{# if url}} + <h4>Sorry, we could not find {{ url }}</h4> + {{/if}} + {{# if error }} + <section class="alert alert-danger custom-Alert"> + <h4>{{ error }}</h4> + </section> + {{/if}} </div> </main> |
