First checkin
This commit is contained in:
parent
f207e2c8b7
commit
90b30db9e8
260 changed files with 37349 additions and 0 deletions
5
app/views/layouts/_messages.html.haml
Normal file
5
app/views/layouts/_messages.html.haml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
- flash.each do |name, msg|
|
||||
- if msg.is_a?(String)
|
||||
%div{:class => "alert alert-#{name == :notice ? "success" : "error"}"}
|
||||
%a.close{"data-dismiss" => "alert"} ×
|
||||
= content_tag :div, msg, :id => "flash_#{name}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue