OSDN Git Service

div
[elecoma/elecoma.git] / app / views / products / show.html.erb
index f7e157d..4d289c6 100644 (file)
@@ -7,6 +7,7 @@
   <%= javascript_include_tag js_url(:action => "thickbox") %>
   <%= javascript_include_tag "recommender_details" %>
   <%= javascript_include_tag js_url(:action => "application") %>
+  <%= javascript_include_tag "jquery.multiSocialService.js") %>
 <% end %>
 
 <div id="left_box" class="clearfix">
   <%= ("【重さ】<br />" + h_br(@product.weight) + "<br />" ) unless @product.weight.blank? %>
   <%= ("【その他、仕様】<br />" + h_br(@product.other) + "<br />" ) unless @product.other.blank? %>
   <%= ("【入荷日】<br />" + h_br(@product.arrival_date) + "<br />" ) unless @product.arrival_date.blank? %>
+  <br />
+  <div>
+  <%= ("<div id="twitter"></div>") unless @social.twitter.blank? %>
+  <%= ("<div id="facebook"></div>") unless @social.facebook.blank? %>
+  <%= ("<div id="gree"></div>") unless @social.gree.blank? %>
+  <%= ("<div id="evernote"></div>") unless @social.evernote.blank? %>
+  <%= ("<div id="hatena"></div>") unless @social.hatena.blank? %>
+  <%= ("<div id="mixi_check"></div>") unless @social.mixi_check.blank? %>
+  <%= ("<div id="mixi_like"></div>") unless @social.mixi_like.blank? %>
+  <%= ("<div id="google"></div>") unless @social.google.blank? %>
+  </div>
   </p>
 
   </div><!-- /item_box -->