BikeBikeBike/app/views/application/permission_denied.html.haml
2015-09-01 22:15:15 -07:00

16 lines
531 B
Plaintext

- content_for :banner do
- image = image_path(@banner_image || '403.jpg')
#header-title.short{style: capable_of(:svg) ? nil : "background-image: url(#{image})"}
- if capable_of(:svg)
= render 'application/banner_image.svg', {:image => image}
%h1=_(@page_title || 'page_titles.403.Permission_Denied')
%article
- if @template
=render @template
- else
%h2
=_'articles.permission_denied.headings.main','Sorry, you currently don\'t have access to this page'
%p
=_'articles.permission_denied.paragraphs.main', :p