Created
June 27, 2012 12:00
-
-
Save colmtuite/3003643 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<li class="job <%= compact.state %>"> | |
<a href="<%= compact %>"> | |
<div> | |
<strong>Description</strong> | |
<span><%= compact.description %></span> | |
</div> | |
<div> | |
<strong>Quantity</strong> | |
<span><%= compact.quantity %></span> | |
</div> | |
<div> | |
<strong>Quantity</strong> | |
<span><%= compact.created_at.utc.strftime("%d %b %Y") %></span> | |
</div> | |
<div> | |
<strong>Quantity</strong> | |
<span><%= number_to_currency(compact.quoted_price, unit: '€') %></span> | |
</div> | |
</a> | |
</li> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can do
Or if you want to take advantage of the Rails
link_to
helper