lib/caboodle/app/views/layout.haml in caboodle-0.2.3 vs lib/caboodle/app/views/layout.haml in caboodle-0.2.5
- old
+ new
@@ -23,11 +23,19 @@
= head
%body.caboodle
= before_page
+
#page.hfeed
+ - if Caboodle::Errors.size > 0
+ %section#errors
+ - Caboodle::Errors.each do |err|
+ %h2
+ = err.title
+ %p.reason
+ = err.reason
= before_header
%header#site-header
= above_header
- unless Caboodle::Site.logo_url.blank?
#logo
@@ -75,16 +83,9 @@
= above_social
= social
= below_social
= after_social
= before_content
- - if Caboodle::Errors.size > 0
- %section#errors
- - Caboodle::Errors.each do |err|
- %h2
- = err.title
- %p.reason
- = err.reason
%section#content
= above_content
= yield
= below_content
= after_content
\ No newline at end of file