Skip to content

Instantly share code, notes, and snippets.

@funkyHat
Created March 1, 2011 23:27
Show Gist options
  • Save funkyHat/850121 to your computer and use it in GitHub Desktop.
Save funkyHat/850121 to your computer and use it in GitHub Desktop.
%p#notice= notice
%p
%b Name:
= @post.name
%p
%b Title:
= @post.title
%p
%b Content:
= @post.content
.images
= for image in @post.images
= image.name
= image.image.url(:small)
= image.caption
= link_to 'Edit', edit_post_path(@post)
\|
= link_to 'Back', posts_path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment