Skip to content

Instantly share code, notes, and snippets.

@adammiribyan
Created April 13, 2013 00:41
Show Gist options
  • Save adammiribyan/5376287 to your computer and use it in GitHub Desktop.
Save adammiribyan/5376287 to your computer and use it in GitHub Desktop.
Lawdingo HIW section description.
= render layout: 'section', locals: { image: 'image_path.png', position: :right | :left }
%h2 Title of the section
%p text
Images are supposed to be stored in app/assets/images/help/{clients | lawyers}/.
The :position option for the section is :left by default.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment