Sha256: c194ba3a671222ab48bb61993c21e4fb53c9272d725a1cf0b6ad08f4ab434e11
Contents?: true
Size: 1.24 KB
Versions: 2
Compression:
Stored size: 1.24 KB
Contents
!!! Strict %html{html_attrs} %head %meta{'http-equiv' => 'Content-Type', :content => 'text/html;charset=UTF-8'} %title == <%= app_name %> | #{yield(:title)} = stylesheet_link_tag 'compiled/screen.css', :media => 'screen, projection' = stylesheet_link_tag 'compiled/print.css', :media => 'print' /[if lt IE 8] = stylesheet_link_tag 'compiled/ie.css', :media => 'screen, projection' = javascript_include_tag :defaults %body{:id => yield(:page)} #wrap #header %h1 <%= app_name %> #navbar %ul - if logged_in? %li = t("label.welcome") = link_to current_user.full_name, user_path(@current_user) %li = link_to "Home", root_path %li = link_to "Logout", logout_path - else %li = link_to "Home", root_path %li = link_to "Login", login_path #flash_box{:onclick => "new Effect.Fade(this, {duration: 0.1, from: 0.7});", :style => "display: none;"} - flash_message #content %h2= yield(:title) = yield .push #footer %p.right Right Footer %p.left Left Footer
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mondo-generators-0.6.1 | rails_generators/mondo_layout/templates/layout.html.haml |
mondo-generators-0.6.0 | rails_generators/mondo_layout/templates/layout.html.haml |