about summary refs log tree commit diff stats
path: root/app/views/layouts/userdata.html.haml
blob: f6e3b577ef31bfd8745d76d2042a39ff735c9f73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
!!! 5
%html
  %head
    %title Thoughts
    = csrf_meta_tags
    = stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload'
    = javascript_include_tag 'application', 'data-turbolinks-track': 'reload'
  %body#userdata-body
    #userdata-container
      - if flash[:alert]
        #userdata-flash.userdata-flash-alert
          %span.userdata-flash-tag ERROR:
          = flash.alert
      - if flash[:notice]
        #userdata-flash.userdata-flash-notice
          %span.userdata-flash-tag NOTICE:
          = flash.notice
      = yield