aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/errors/render_error.html.haml
diff options
context:
space:
mode:
authorRhenium <rhenium@rhe.jp>2014-02-20 20:36:51 +0900
committerRhenium <rhenium@rhe.jp>2014-02-20 20:36:51 +0900
commite0d3da8ccadc46099ad05e838b84d4fc06c995e9 (patch)
tree61447cc9da2d26b17fa5b895be786c20444968e3 /app/views/errors/render_error.html.haml
parent33689cbce02d01aa59aab7d2aaba9e7127aacd9f (diff)
downloadaclog-e0d3da8ccadc46099ad05e838b84d4fc06c995e9.tar.gz
apply rot's new web design
Diffstat (limited to 'app/views/errors/render_error.html.haml')
-rw-r--r--app/views/errors/render_error.html.haml13
1 files changed, 10 insertions, 3 deletions
diff --git a/app/views/errors/render_error.html.haml b/app/views/errors/render_error.html.haml
index 783576c..c7a4811 100644
--- a/app/views/errors/render_error.html.haml
+++ b/app/views/errors/render_error.html.haml
@@ -1,4 +1,11 @@
- title "Error"
-- sidebar @user ? :users : :i
-.lead
- = @message
+- if @user
+ .col-sm-3.col-md-offset-1
+ = render "shared/sidebar_user", user: @user
+ .col-sm-9.col-md-7.col-lg-6.error-page
+ %h1= response.status
+ %p= @message
+- else
+ .container.error-page
+ %h1= response.status
+ %p= @message