% layout 'default';
% my $product = $item;

<h1><%= $product->{product_name} %></h1>
<p><%= $product->{quantity_per_unit} %></p>

<dl class="dl-horizontal">
    <dt>Price</dt>
    <dd><%= $product->{unit_price} %></dd>
    <dt>In Stock</dt>
    <dd><%= $product->{units_in_stock} %></dd>
</dl>

% if ( $product->{discontinued} ) {
    <div class="alert alert-warning" role="alert">
        This product has been discontinued.
    </div>
% }