error.html.haml 687 B

12345678910111213141516
  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. = theme_style_tags Setting.default_settings['theme']
  9. = javascript_pack_tag 'common', crossorigin: 'anonymous'
  10. = javascript_pack_tag 'error', crossorigin: 'anonymous'
  11. %body.error
  12. .dialog
  13. .dialog__illustration
  14. %img{ alt: Setting.default_settings['site_title'], src: '/oops.png' }/
  15. .dialog__message
  16. %h1= yield :content