I have a complex bunch of divs and CSS that I’d like to tuck away into a
partial. Essentially it’s a box which nests something.
So my ideal situation would be if I could render the partial, and then
yield out so that my view can add some more content in the middle (again
- this is a bunch of HTML that just creates a container for any block
In this way, I can reuse my partial whenever I need to visually contain
a block element.
I expected to be able to do this with partials, but after Googling I’m
not sure any more, I didn’t find anything very relevant.
Thanks for any advice!