From 1fb650f48213117fb3ad3eedc6c041d7269adf05 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Fri, 30 Jun 2017 18:23:20 -0400 Subject: Split up stylesheets for each layout --- app/views/layouts/userdata.html.haml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'app/views/layouts/userdata.html.haml') diff --git a/app/views/layouts/userdata.html.haml b/app/views/layouts/userdata.html.haml index f6e3b57..29e47b2 100644 --- a/app/views/layouts/userdata.html.haml +++ b/app/views/layouts/userdata.html.haml @@ -3,16 +3,16 @@ %head %title Thoughts = csrf_meta_tags - = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' + = stylesheet_link_tag 'userdata', media: 'all', 'data-turbolinks-track': 'reload' = javascript_include_tag 'application', 'data-turbolinks-track': 'reload' - %body#userdata-body - #userdata-container + %body + #container - if flash[:alert] - #userdata-flash.userdata-flash-alert - %span.userdata-flash-tag ERROR: + #flash.flash-alert + %span.flash-tag ERROR: = flash.alert - if flash[:notice] - #userdata-flash.userdata-flash-notice - %span.userdata-flash-tag NOTICE: + #flash.flash-notice + %span.flash-tag NOTICE: = flash.notice = yield -- cgit 1.4.1