Created
February 21, 2009 05:01
-
-
Save gustin/67898 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="bigroundbox"> | |
<div class="boxcontainer"> | |
<table cellspacing="0" cellpadding="0" class="shoptable"> | |
<tr> | |
<th class="prodcol">Power Supply:</th> | |
<th class="standcol">Quantity</th> | |
<th class="standcol">Price</th> | |
<th class="standcol">Total</th> | |
<th class="standcol"></th> | |
</tr> | |
<% if @cart.cart_items.length > 0 %> | |
<% form_tag cart_path(@cart.id), :method => :put, | |
:html => { :name => 'cart_form' } do |form| %> | |
<%= render :partial => "/carts/cart_item", :locals => { :cart => @cart } %> | |
<tr> | |
<td class="prodcol"/> | |
<td class="standcol"> | |
<%= image_submit_tag 'update_quantity_button.gif' %> | |
</td> | |
<td colspan="3"/> | |
</tr> | |
<tr><td><br/></td></tr> | |
<tr> | |
<td colspan="2"/> | |
<td colspan="3"><h2>Shipping Regions:</h2></td> | |
</tr> | |
<tr id="shipping_regions"> | |
<td colspan="3"/> | |
<td> | |
<%= render :partial => '/carts/shipping_regions', | |
:locals => { :order_review => order_review } %> | |
</td> | |
</tr> | |
<tr> | |
<td colspan="2"/> | |
<td colspan="3"><h2>Shipping Methods:</h2></td> | |
</tr> | |
</table> | |
<table id="shipping_methods" class="shoptable"> | |
<tbody> | |
<tr> | |
<td colspan="3"/> | |
<td id="shipping_methods"> | |
<%= render :partial => '/carts/shipping_methods', | |
:locals => { :shipping_methods => @shipping_methods } %> | |
</td> | |
</tr> | |
</tbody> | |
</table> | |
<table class="shoptable"> | |
<tr> | |
<td colspan="5"/> | |
</tr> | |
<tr> | |
<td colspan="5"/> | |
</tr> | |
<tr class="nop"> | |
<td class="prodcol"> </td> | |
<td class="standcol"> </td> | |
<td class="standcol"> </td> | |
<td class="breakdown">Subtotal</td> | |
<td class="breakdown"><%= number_to_currency(@subtotal) %></td> | |
</tr> | |
<tr id="shipping_totals" class="nop"> | |
<%= render :partial => "/carts/shipping_totals", | |
:locals => { :shipping_total => @shipping_total } %> | |
</tr> | |
<tr id="cart_totals" class="nop"> | |
<%= render :partial => "/carts/cart_totals", | |
:locals => { :grand_total => @grand_total } %> | |
</tr> | |
<% end %> | |
<% else %> | |
<tr> | |
<td><h4>Your Cart Is Empty...</h4></td> | |
</tr> | |
<% end %> | |
</table> | |
</div> <!-- /boxcontainer --> | |
<div class="bigroundboxbottom"> </div> | |
</div> <!--bigroundbox --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment