diff options
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> |
