Skip to content

Instantly share code, notes, and snippets.

@TheNicholasNick
Created January 9, 2009 05:22
Show Gist options
  • Save TheNicholasNick/45031 to your computer and use it in GitHub Desktop.
Save TheNicholasNick/45031 to your computer and use it in GitHub Desktop.
- # passed in a quote object
%div.quote{ :id => "quote_#{quote.id}" }
%p
%span.action
x
= "#{quote.product_name}, #{quote.asset_cost.to_currency(:au)} over #{quote.term} months"
- quote.quote_results.each do |qr|
%p
= qr.id
<div class='quote' id='quote_16'>
<p>
<span class='action'>
x
</span>
Commercial Hire Purchase, $100,000.00 over 48 months
<p>
16
</p>
<p>
16
</p>
</p>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment