I am trying to build some module block that I can add to any page and simply update the info inside. I can pass an image in but I may also decide I want to add a button to this module so I would like to pass a partial I have set up for buttons. is it possible to call this with in the original partial call.
Example below.
partial: _one-block.slim
== "#{content}"
Call the partial and add content
= partial(:"partials/compilers/_one-block", :locals => { :content => '<img src="http://lorempixel.com/580/480/" /> =partial "partials/_test""'})
If you know a better way to achieve this I would love to hear it as I am a bit confused.