闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
511 B

  1. - content_for :header_tags do
  2. = javascript_include_tag 'application_public', integrity: true, crossorigin: 'anonymous'
  3. - content_for :content do
  4. .container
  5. .logo-container
  6. %h1
  7. = link_to root_path do
  8. = image_tag 'logo.png'
  9. .form-container
  10. - if flash[:notice]
  11. .flash-message.notice
  12. %strong= flash[:notice]
  13. - if flash[:alert]
  14. .flash-message.alert
  15. %strong= flash[:alert]
  16. = yield
  17. = render template: "layouts/application"