mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-16 08:31:36 -04:00
BS3: devise & flash messaging.
This commit is contained in:
@@ -11,18 +11,17 @@
|
||||
|
||||
%body
|
||||
.container
|
||||
|
||||
.content
|
||||
- if flash[:notice]
|
||||
%p{class: 'notice'}= flash[:notice]
|
||||
%div.alert.alert-info= flash[:notice]
|
||||
- if flash[:alert]
|
||||
%p{class: 'alert'}= flash[:alert]
|
||||
.row
|
||||
.span12
|
||||
= yield
|
||||
%div.alert.alert-danger= flash[:alert]
|
||||
|
||||
= yield
|
||||
|
||||
%footer
|
||||
%p © BikeShed #{Time.now.year}
|
||||
%hr
|
||||
%p.text-muted © BikeShed #{Time.now.year}
|
||||
|
||||
= javascript_include_tag 'application'
|
||||
= javascript_include_tag params[:controller]
|
||||
|
||||
Reference in New Issue
Block a user