Browse Source

Add flash message display

development
Graham Kaplan 11 years ago
parent
commit
c9a09de740
  1. 2
      app/views/layouts/application.html.haml

2
app/views/layouts/application.html.haml

@ -35,6 +35,8 @@
= render 'shared/navbar' = render 'shared/navbar'
%main %main
- flash.each do |key, msg|
= content_tag :div, msg, :id => key
- if has_banner? - if has_banner?
%header#banner{banner_attrs(yield_or_default :banner_image)} %header#banner{banner_attrs(yield_or_default :banner_image)}
= yield :banner = yield :banner

Loading…
Cancel
Save