Use haml instead of content_tag

This commit is contained in:
Gonzalo Rodriguez 2011-10-04 00:22:33 -02:00
parent 543bf458a2
commit 80a494f9ba

View file

@ -92,7 +92,7 @@
#notifications
- flash.each do |name, msg|
= content_tag :div, msg, :id => "flash_#{name}"
%div{:id => "flash_#{name}"}= msg
%header{:class=>('landing' unless current_user)}
= render 'layouts/header'