From 1772a59c6816d765d0005721d37a5d56cf42a590 Mon Sep 17 00:00:00 2001 From: Duncan Mac-Vicar P Date: Sun, 4 Feb 2018 00:18:21 +0100 Subject: [PATCH] Improve error template layout using bootstrap styles --- app/views/error.html.erb | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/app/views/error.html.erb b/app/views/error.html.erb index 1d48444fa..c2db4b96a 100644 --- a/app/views/error.html.erb +++ b/app/views/error.html.erb @@ -1,11 +1,8 @@ -<% @page_title = "Error" -%> - -
-

- <%= @page_title -%>

-
+<% @page_title = "Error" if @page_title.blank? -%> +
+ +

<%=h @message %>

-