DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+4 =
Submit