Skip to content

Adding a wrapper in the style guide #86

@ChristineP2

Description

@ChristineP2

Hey, sorry I haven't had any PRs recently, work is intense.

I've been pondering how useful it would be to be able to have the ability to insert the example into a partial in the style guide.

So, if you wanted to show how a complex form component would display within your simple_form, you could create a partial with the form setup, then display the example within that partial.

Would that make sense to add? All I could think of was using content_for to capture the sample component and if there was a partial, that would use the capture, if there wasn't a partial, then we'd display the content_for directly.

I am sure there are other options as well, what thoughts do you have on this one?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions