how should you use content_for and yield code example
Example 1: how should you use content_for and yield
<% content_for :my_content do %>
This is the content.
<% end %>
Example 2: how should you use content_for and yield
<div>
<h1> This is the wrapper!</h1>
<%= yield :my_content %>
</div>