Sha256: e9fc4b6f2ed2fd2bbdd5657866338b3790f80e50bb703647886e2935f0b5b1cd
Contents?: true
Size: 1.93 KB
Versions: 1
Compression:
Stored size: 1.93 KB
Contents
!!! 5 %html{:lang => "pt"} %head %meta{:charset => "utf-8"} %meta{:name => "keywords", :content => ""} %meta{:name => "description", :content => ""} %title= page_title(app_name: 'example') # use content_for(:page_title, 'My title of my page') on views files like index.html.haml %link{:href => "/favicon.ico", :rel => "shortcut icon"} = yield(:header_tags) = stylesheet_link_tag "application", :type => nil, :media => "all" = javascript_include_tag "application", :type => nil, "data-turbolinks-track" => true = csrf_meta_tags /[if lt IE 9] %script{:src => "http://html5shim.googlecode.com/svn/trunk/html5.js"} :plain <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'XXXXX-XXXX']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> %body{:class => body_class} #wrapper %header .holder / #masthead /- if current_user / %p / = "Bem-vindo <strong>#{current_user.name}</strong> • ".html_safe / = link_to "Sair", logout_path /- else / %p / = link_to "Acesse com Facebook", "/auth/facebook", :id => "facebook-connect" #logo< = link_to "Logo", "/" = render 'flash_messages' #main-content .holder %section{:role => "main"} = yield - if content_for?(:sidebar) %aside = yield(:sidebar) %footer .holder = "Copyright © #{Time.zone.now.year} App".html_safe
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pah-0.0.13 | lib/pah/files/app/views/layouts/application.html.haml |