<%= content_tag :div, html_container_attributes do %> <%= content_for?(:content) ? yield(:content) : yield %> <% end %>