This goes with the other application helpers:
def rounded_box(&block) concat '<div class="rounded"><div class="top"></div><div class="body">' + capture(&block) + '</div><div class="bottom"></div></div>', block.binding end
This goes in a view:
<% rounded_box do %> ... stuff to put in the rounded box ... <% end %>