Sha256: 8f0810c37386c56b4a2de56acc6671fe4d4f3140a35fa2f621aeb93ff3f1c11f

Contents?: true

Size: 684 Bytes

Versions: 4

Compression:

Stored size: 684 Bytes

Contents

<%= render :partial => 'menu' -%>

<div id="product-description">
  <% for column in Product.content_columns %>
  <p>
    <b><%= column.human_name %>:</b> <%=h @product.send(column.name) %>
  </p>
  <% end %>
  <% unless @product.variations.empty? %>
    <p>
      <label for="attributes"><b>Variations:</b></label><br/>
      <% for v in @product.variations %>
        <table>
          <tr>
            <td valign="top"><%= v.name -%></td>
          </tr>
        </table>
      <% end %>
      <br/>
    </p>
  <% end%>
  <p><b>Tags:</b> <%= @product.tag_list %></p>
</div>
<div id="product-image">
  <%= image_tag 'products/' + @product.filename %>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
railscart-0.0.1 starter-app/vendor/plugins/railscart/app/views/admin/products/show.rhtml
railscart-0.0.2 starter_app/vendor/plugins/railscart/app/views/admin/products/show.rhtml
railscart-0.0.3 starter_app/vendor/plugins/railscart/app/views/admin/products/show.rhtml
railscart-0.0.4 starter_app/vendor/plugins/railscart/app/views/admin/products/show.rhtml