diff options
Diffstat (limited to 'app/views/layouts/userdata.html.haml')
-rw-r--r-- | app/views/layouts/userdata.html.haml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/views/layouts/userdata.html.haml b/app/views/layouts/userdata.html.haml new file mode 100644 index 0000000..f6e3b57 --- /dev/null +++ b/app/views/layouts/userdata.html.haml | |||
@@ -0,0 +1,18 @@ | |||
1 | !!! 5 | ||
2 | %html | ||
3 | %head | ||
4 | %title Thoughts | ||
5 | = csrf_meta_tags | ||
6 | = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' | ||
7 | = javascript_include_tag 'application', 'data-turbolinks-track': 'reload' | ||
8 | %body#userdata-body | ||
9 | #userdata-container | ||
10 | - if flash[:alert] | ||
11 | #userdata-flash.userdata-flash-alert | ||
12 | %span.userdata-flash-tag ERROR: | ||
13 | = flash.alert | ||
14 | - if flash[:notice] | ||
15 | #userdata-flash.userdata-flash-notice | ||
16 | %span.userdata-flash-tag NOTICE: | ||
17 | = flash.notice | ||
18 | = yield | ||