1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-04-04 05:33:22 -04:00
BikeShed-1/app/views/layouts/application.html.haml
2016-12-25 01:00:35 +06:00

28 lines
762 B
Plaintext

!!! 5
%html{lang: 'en'}
%head
%meta(charset="utf-8")/
%meta(name="viewport" content="width=device-width" initial-scale="1.0")/
%title= content_for?(:title) ? yield(:title) : 'Velocipede'
= csrf_meta_tags
= stylesheet_link_tag 'application', media: 'all'
/[if lt IE 9]
= javascript_include_tag 'http://html5shim.googlecode.com/svn/trunk/html5.js'
%body
.container
.content
- if flash[:notice]
%div.alert.alert-info= flash[:notice]
- if flash[:alert]
%div.alert.alert-danger= flash[:alert]
= yield
%footer
%hr
%p.text-muted © BikeShed #{Time.now.year}
= javascript_include_tag 'application'
= javascript_include_tag params[:controller]