Sha256: 86c440d27876e31f7d97150d5a740db0630afb720da6c6ac8fd49dfe21250ebd

Contents?: true

Size: 1.72 KB

Versions: 5

Compression:

Stored size: 1.72 KB

Contents

<h2 class="title"><%=@product.product_name%></h2>
<div class="inner">
  <ul class="list">        
    <li>
      <div class="left">
        <a href="#"><img class="avatar" src="<%=@product.product_image_url%>" alt="avatar" /></a>
      </div>
      <div class="item">
        <p><%=@product.product_description%></p>
        <form action="#" class="form" id="product_desc_form">
			<table class="table">
	  			<tr class="<%=cycle('odd','even')%>">
	    			<td class="first">
                	Billing cycle : <%=select(:orderdetail, :billingcycle_id, @product.billingcycles.collect {|p| [ p.billingcycle_days, p.id ] }, 
                					{:prompt => true}, 
                					html_options = {:onchange => remote_function(:url => {:action =>"add_product_billingcycle_to_cart", :product_id=>@product.id}, :with => "'id='+value", :update=>"ticker")})%> days
	    			</td>
	    		</tr>
	    		<% if @product.require_domain==true %>
				<tr class="<%=cycle('odd','even')%>">
					<td class="first">
						<form name="sform" id="sform" action="" style="display:inline;" >
						<label for="domain_name">Search for domain name  : </label>
						<%= text_field_tag("sld", params['sld'], :size => 30 ) %>
						<%= select_tag("tld", @tlds.collect {|p| '<option>'+p.tld_name+'</option>' })%>
				          <span class="flash" id="domain_status">
							<%= render :partial => "check_domain_availability" %>
				    	  </span>
						  <%= image_tag("spinner.gif",
						              :align => "absmiddle",
						              :border => 0,
						              :id => "spinner",
						              :style =>"display: none;" ) %>
						</form>
					</td>
				</tr>
	    		<% end %>
	    	</table>
	    </form>
      </div>              
    </li>    
  </ul>
</div>

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
smukherjee-openbill-0.1.5 app/views/carts/_product_details.html.erb
smukherjee-openbill-0.1.6 app/views/carts/_product_details.html.erb
smukherjee-openbill-0.1.7 app/views/carts/_product_details.html.erb
openbill-0.1.5 app/views/carts/_product_details.html.erb
openbill-0.1.6 app/views/carts/_product_details.html.erb