OSDN Git Service
(root)
/
elecoma
/
elecoma.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d34ec3
)
エラー情報が綺麗にでるよう修正
author
Taro Matsuzawa
<tmatsuzawa@kbmj.com>
Fri, 29 Oct 2010 02:41:39 +0000
(11:41 +0900)
committer
Taro Matsuzawa
<tmatsuzawa@kbmj.com>
Fri, 29 Oct 2010 02:41:39 +0000
(11:41 +0900)
app/views/cart/show.html.erb
patch
|
blob
|
history
diff --git
a/app/views/cart/show.html.erb
b/app/views/cart/show.html.erb
index
a12787b
..
4b5d094
100644
(file)
--- a/
app/views/cart/show.html.erb
+++ b/
app/views/cart/show.html.erb
@@
-11,7
+11,10
@@
<!-- ショッピングカート -->
<%= image_tag("cart/route01.gif", :width => "583", :height => "31", :alt => "ご購入の流れ", :class => "route") %>
- <p><%= flash[:notice] %><%= flash[:error] %><%= flash[:cart_add_product] %> </p>
+ <p><%= flash[:notice] %><%= flash[:cart_add_product] %> </p>
+ <% if flash[:error] %>
+ <p class="error_mes"><%= flash[:error] %></p>
+ <% end %>
<%- if @carts.blank? then -%>
<p class="cntr">※ 現在カート内に商品はございません。</p><br /><br /><br /><br />