The code powering m.abunchtell.com https://m.abunchtell.com
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

27 行
618 B

  1. - content_for :header_tags do
  2. = javascript_include_tag 'application_public'
  3. - content_for :content do
  4. .admin-wrapper
  5. .sidebar-wrapper
  6. .sidebar
  7. = link_to root_path do
  8. = image_tag 'logo.png', class: 'logo'
  9. = render_navigation
  10. .content-wrapper
  11. .content
  12. %h2= yield :page_title
  13. - if flash[:notice]
  14. .flash-message.notice
  15. %strong= flash[:notice]
  16. - if flash[:alert]
  17. .flash-message.alert
  18. %strong= flash[:alert]
  19. = yield
  20. = render template: "layouts/application", locals: { body_classes: 'admin' }