Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

how should you use content_for and yield

<div>
  <h1> This is the wrapper!</h1>
  <%= yield :my_content %>
</div>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #yield
ADD COMMENT
Topic
Name
3+4 =