Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example of using "render_main" markup builder
= render_main do |main|
- main.action_ribbon do
%p ACTION CONTENT
%p MAIN CONTENT
- main.sidebar do |sidebar|
- sidebar.header do
%p HEADER CONTENT
%p SIDEBAR CONTENT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment