Skip to content

Commit

Permalink
Finishing up the layout reorganization.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Bommarito committed Jul 4, 2012
1 parent 329ecd3 commit b49842c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions app/views/layouts/_footer.html.haml
@@ -0,0 +1 @@
= javascript_include_tag 'body'
5 changes: 5 additions & 0 deletions app/views/layouts/_head.html.haml
@@ -0,0 +1,5 @@
%title RedTix
= stylesheet_link_tag 'application'
= render 'layouts/ie_shim'
= javascript_include_tag 'head'
= csrf_meta_tags
10 changes: 3 additions & 7 deletions app/views/layouts/application.html.haml
@@ -1,16 +1,12 @@
!!!
%html{ class: 'no-js' }
%head
%title RedTix
= stylesheet_link_tag 'application'
= render 'layouts/ie_shim'
= javascript_include_tag 'head'
= csrf_meta_tags
= render 'layouts/head'
%body
- if flash.present?
#flash
- flash.each do |type, msg|
%div{class: type}= msg
#container
.container
= yield
= javascript_include_tag 'body'
= render 'layouts/footer'

0 comments on commit b49842c

Please sign in to comment.