Really digging Markaby and the potential it has to more easily create html in Ruby. Try to work in some Markaby along with your Erb in Rails. (Markaby is included in Camping microframework I believe... the code is very clean). Currently, I believe the latest version is 0.5 as of this writing. You can install it with a simple:
bash-3.2$ sudo gem install markaby
Read all about it:
p flash[:notice], :style => "color: green"
self << @content_for_layout end end