OSDN Git Service

- スマートフォン対応レポジトリからマージ
[elecoma/elecoma.git] / app / views / cart / show_mobile_smartphone.html.erb
1 <div class="sectionHeader">現在のカゴの中</div>
2
3 <p><span class="highlightError"><%= flash[:notice] %><%= h_br(flash[:error]) %><%= flash[:cart_add_product] %></span></p>
4
5 <div id="cartSummary">
6   <%- if @carts.blank? then -%>
7     <span style="color:#ff0000;">※</span> 現在カート内に商品はございません。
8   <%- else -%>
9         お買い上げ商品の合計金額は<br />
10                 <span class="highlightYen"><%= h(number_with_delimiter(@cart_price)) %></span>円です。
11   <%- end -%>
12 </div>
13
14 <%- unless @carts.blank? -%>
15         <%= render :partial  => 'cart_items_smartphone', :locals  => { :details => true, :buttons => true} %>
16    
17         <div id="cartTotal">
18                 合計 <span class="highlightYen"><%= h(number_with_delimiter(@cart_price)) %></span>円
19         </div>
20           <div id="cartMoreOptions">
21               <%= link_to '注文する', {:controller => 'cart', :action => 'shipping'}, {:class => 'submit_shipping rosy button'} %>
22               <%= link_to 'お買い物を続ける', {:controller => :portal, :action => :show}, {:class => 'rosy button'} %>
23           </div>
24
25 <%- end -%>