Skip to content

Instantly share code, notes, and snippets.

@Solnse
Created October 31, 2011 04:06
Show Gist options
  • Save Solnse/1326891 to your computer and use it in GitHub Desktop.
Save Solnse/1326891 to your computer and use it in GitHub Desktop.
= render :partial => 'menu_header'
.menus
- @food_items.each do |food_item|
- if food_item.img_url?
.list_image
= link_to image_tag(food_item.img_url), food_item.img_url
%h3= food_item.name
.list_description
= sanitize(food_item.description)
.price_line
%span.price= number_to_currency(food_item.price)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment