Skip to content

Commit

Permalink
Fixed attribute value display in template
Browse files Browse the repository at this point in the history
  • Loading branch information
codeinthehole committed May 31, 2012
1 parent 52fd1a1 commit 00ad5fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions oscar/templates/catalogue/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ <h2>Product Information</h2>
{% if product.is_group %}Product group{% else %}{% if product.is_variant %}Variant{% else %}Stand-alone{% endif %}{% endif %}
</td>
</tr>
{% for attribute in product.attributes.all %}
{% for av in product.attribute_values.all %}
<tr>
<th>{{ attribute.type.name }}</th>
<td>{{ attribute.value }}</td>
<th>{{ av.attribute.name }}</th>
<td>{{ av.value }}</td>
</tr>
{% endfor %}
<tr>
Expand Down

0 comments on commit 00ad5fe

Please sign in to comment.