error.html.haml 805 B

1234567891011121314151617
  1. !!!
  2. %html{ lang: I18n.locale }
  3. %head
  4. %meta{ 'content' => 'text/html; charset=UTF-8', 'http-equiv' => 'Content-Type' }/
  5. %meta{ charset: 'utf-8' }/
  6. %title= safe_join([yield(:page_title), Setting.default_settings['site_title']], ' - ')
  7. %meta{ content: 'width=device-width,initial-scale=1', name: 'viewport' }/
  8. = stylesheet_pack_tag 'common', media: 'all', crossorigin: 'anonymous'
  9. = stylesheet_pack_tag Setting.default_settings['theme'], media: 'all', crossorigin: 'anonymous'
  10. = javascript_pack_tag 'common', crossorigin: 'anonymous'
  11. = javascript_pack_tag 'error', crossorigin: 'anonymous'
  12. %body.error
  13. .dialog
  14. .dialog__illustration
  15. %img{ alt: Setting.default_settings['site_title'], src: '/oops.png' }/
  16. .dialog__message
  17. %h1= yield :content