Commit 2bfaa7e6

mo k <m@mokhan.ca>
2012-01-30 03:06:22
change 'like' button to 'favorite' and bring back the facebook like button.
1 parent 062730d
Changed files (1)
app
views
creations
app/views/creations/show.html.erb
@@ -35,10 +35,10 @@
         </p>
       </div>
       <div class="span2">
-        <!-- <iframe src="http://www.facebook.com/plugins/like.php?href=<%= request.url %>" scrolling="no" frameborder="0" style="border:none; width:350px; height:30px"></iframe> -->
+         <iframe src="http://www.facebook.com/plugins/like.php?href=<%= request.url %>" scrolling="no" frameborder="0" style="border:none; width:350px; height:30px"></iframe> 
         <% if user_signed_in? %>
           <% unless current_user == @creation.user || current_user.already_likes(@creation) %>
-            <%= button_to "Like", creation_likes_path(:creation_id => @creation.id), :method => :post, :class => 'btn success' %>
+            <%= button_to "Favorite", creation_likes_path(:creation_id => @creation.id), :method => :post, :class => 'btn success' %>
           <% end %>
         <% end %>
       </div>