diff options
author | Rhenium <rhenium@rhe.jp> | 2014-02-20 20:36:51 +0900 |
---|---|---|
committer | Rhenium <rhenium@rhe.jp> | 2014-02-20 20:36:51 +0900 |
commit | e0d3da8ccadc46099ad05e838b84d4fc06c995e9 (patch) | |
tree | 61447cc9da2d26b17fa5b895be786c20444968e3 /app/views/errors/render_error.html.haml | |
parent | 33689cbce02d01aa59aab7d2aaba9e7127aacd9f (diff) | |
download | aclog-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.haml | 13 |
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 |