Sha256: 22e8031c44b39a5a372b8cd7f40e2c734464b7d3bcd16c82e2879f53d34964f2
Contents?: true
Size: 1.42 KB
Versions: 2
Compression:
Stored size: 1.42 KB
Contents
!!! Strict %html{:xmlns => 'http://www.w3.org/1999/xhtml', :'xml:lang' => I18n.locale, :lang => I18n.locale} %head %title= @meta_title = stylesheet_link_tag 'rails_dash/application', :media => 'all' = javascript_include_tag 'application' = csrf_meta_tags %body #page #navigation .holder #menu %ul %li %a{ :href => rails_dash.root_path, :title => t('dash.menu.home') } = t('dash.menu.home') #session %a.button{ :href => '#', :title => t('dash.session.logout') } = t('dash.session.logout') - if @title #header .holder %h1 = @title - if not flash.empty? and ((flash.key?(:error) and flash[:error].any?) or (flash.key?(:success) and flash[:success].any?)) #flash.flash.holder - if flash.key?(:error) and flash[:error].any? - while flash[:error].any? %p.error = flash[:error].shift.capitalize - if flash.key?(:success) and flash[:success].any? - while flash[:success].any? %p.success = flash[:success].shift.capitalize #content.holder = yield #footer .holder %p#copyright = t('dash.footer.copyright', :year => Time.now.year)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_dash-0.0.6 | lib/generators/dash/templates/layout.erb |
rails_dash-0.0.5 | lib/generators/dash/templates/layout.erb |