Skip to content

Commit

Permalink
Improve error template layout using bootstrap styles
Browse files Browse the repository at this point in the history
  • Loading branch information
dmacvicar committed Feb 3, 2018
1 parent b7440c7 commit 1772a59
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions app/views/error.html.erb
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
<% @page_title = "Error" -%>

<div class="box box-shadow">
<h2 class="box-header">
<span class="alignleft"><%= @page_title -%></span></h2>
<div>
<% @page_title = "Error" if @page_title.blank? -%>

<div class="container">
<h2Y<%= @page_title -%></h2>
<div class="alert alert-danger">
<p><%=h @message %></p>

</div>
</div>

0 comments on commit 1772a59

Please sign in to comment.