Skip to content

Instantly share code, notes, and snippets.

@tbuehlmann
Last active December 17, 2015 22:19
Show Gist options
  • Save tbuehlmann/5681381 to your computer and use it in GitHub Desktop.
Save tbuehlmann/5681381 to your computer and use it in GitHub Desktop.
!!! 5
%html
%head
%meta{:charset => "utf-8"}
%meta{:name => "viewport", :content => "width=device-width, initial-scale=1, maximum-scale=1"}
%title ScheduleMeNow
/ %title= content_for?(:title) ? yield(:title) : "Myapp"
%meta{:content => "", :name => "description"}
%meta{:content => "", :name => "author"}
= stylesheet_link_tag "application", :media => "all"
= javascript_include_tag "application"
= csrf_meta_tags
= yield(:head)
%body
%header.navbar.navbar-fixed-top
%nav.navbar-inner
.container
= render 'layouts/navigation'
#main{:role => "main"}
.container
.content
.row
.span12
= render 'layouts/messages'
- if current_user && current_user.instructor?
= render 'layouts/instructor_nav'
.row
.span12
= yield
%footer
this is the footer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment