Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
grandalf
15y ago
0 comments
Save
Share
Not with the same notion of inheritance that django templates have (with multiple blocks that can be overridden in child classes). There is one project someone attempted but never finished.
0 comments
2 comments · 1 top-level
top
newest
oldest
btucker
15y ago
· 1 in thread
Isn't this just content_for/yield(:sym)? Or are you talking about something else?
http://api.rubyonrails.org/classes/ActionView/Helpers/Captur...
grandalf
OP
15y ago
That's close. Nowhere near as elegant as Django templates though, in my opinion.
j
/
k
navigate · click thread line to collapse