Created
July 23, 2010 22:20
-
-
Save iamnoah/488131 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
<div class="product" > | |
<g:link action="show" id="${productInstance.id}"> | |
<h3> | |
${productInstance.name} | |
(${productInstance.id}) | |
</h3> | |
</g:link> | |
<div class="image"> | |
<img src="${resource(dir:'images/product',file: productImage)}" /> | |
</div> | |
<span class="price"> | |
${formatNumber(number:productInstance.price,format:"\$###,##0")} | |
</span> | |
<div class="description"> | |
${productInstance.description} | |
</div> | |
<div class="colors"> | |
Try different colors! | |
<g:each in="${colors}" var="color"> | |
<g:link class="color ${color}" action="showColor" id="${productInstance.id}" params="${[color:color]}"> | |
${color} | |
</g:link> | |
</g:each> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment