diff options
| author | mo k <mo@mokhan.ca> | 2012-07-26 07:05:25 -0600 |
|---|---|---|
| committer | mo k <mo@mokhan.ca> | 2012-07-26 07:05:42 -0600 |
| commit | 4464d64bfd19ee18ef7c7210eb7dad2e0df6ef30 (patch) | |
| tree | a40866234f691a133ac0a6b26bb8b09611cbabf5 | |
| parent | 02c366014530586aa82f7db82f14b8c260bd86ae (diff) | |
move the 'add to favorites' button over.
| -rw-r--r-- | app/views/creations/show.html.erb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/app/views/creations/show.html.erb b/app/views/creations/show.html.erb index 0214f195..20dd535d 100644 --- a/app/views/creations/show.html.erb +++ b/app/views/creations/show.html.erb @@ -49,7 +49,7 @@ </div> </div> <div class="row"> - <div class="span7"> + <div class="span4"> <iframe src="http://www.facebook.com/plugins/like.php?href=<%= request.url %>" scrolling="no" frameborder="0" style="border:none; width:350px; height:30px; float:left;"></iframe> </div> <div class="span2"> @@ -61,11 +61,10 @@ <%= button_to "Add to favorites", creation_favorites_path(:creation_id => @creation.id), :method => :post, :class => 'btn btn-primary' %> <% end %> </div> - <div class="span2 offset1"> - <p> - <%= link_to 'fanclub (' + pluralize(@creation.favorites.length, 'fan') + ')', creation_favorites_path(:creation_id => @creation.id)%> - </p> + <div class="span2"> + <p><%= link_to 'fanclub (' + pluralize(@creation.favorites.length, 'fan') + ')', creation_favorites_path(:creation_id => @creation.id)%></p> </div> + <div class="span4"></div> </div> <div class="row"> <div class="span12"> |
