Sha256: ee3167437bf081fec9a3b1541ea0cde606dc1f46b97248193f6ed9dbd75c8b17
Contents?: true
Size: 1.39 KB
Versions: 5
Compression:
Stored size: 1.39 KB
Contents
!!! %html %head %meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"} %title= content_for?(:title) ? yield(:title) : Settings.site_name %meta{:content => content_for?(:description) ? yield(:description) : Settings.site_name , :name => "description"} = stylesheet_link_tag "application", :media => "all" = javascript_include_tag "application" = csrf_meta_tags = yield(:head) %body{:class => "#{controller_name} #{action_name}"} %header.navbar.navbar-fixed-top %nav.navbar-inner .container %a.btn.btn-navbar(data-toggle="collapse" data-target=".nav-collapse") %span.icon-bar %span.icon-bar %span.icon-bar = link_to Settings.site_name, root_path, class: 'brand' .nav-collapse.collapse = render 'layouts/navigation' #main{:role => "main"} .container - flash.each do |name, msg| - if msg.is_a?(String) %div{:class => "alert alert-#{name == :alert ? "error" : "success"}"} %a.close{"data-dismiss" => "alert"} × = content_tag :div, msg, :id => "flash_#{name}" = yield %footer.footer .container = link_to('Terms of Service', terms_of_service_path) = link_to('Privacy Policy', privacy_policy_path) .pull-right © #{Settings.site_name}
Version data entries
5 entries across 5 versions & 1 rubygems