foodsoft/app/views/errors/_error.html.haml

10 lines
362 B
Text
Raw Permalink Normal View History

2015-06-06 20:20:07 +02:00
- title local_assigns[:title], false
- unless login_layout?
%i.hidden-phone.large-error-icon.icon-exclamation-sign
%div(class="#{login_layout? ? '' : 'span6'}")
%h1= local_assigns[:title]
%div(class='alert alert-#{local_assigns[:type] || 'warn'}')
= local_assigns[:page]
= link_to t('ui.back'), 'javascript:history.go(-1)', class: 'btn btn-primary'