Commit f5c16282

mo k <mo@mokhan.ca>
2012-06-08 01:37:23
update creation page style to use bootstrap styles.
1 parent 89f3819
Changed files (1)
app/views/shared/_creation_image_gallery.html.erb
@@ -2,21 +2,18 @@
   <% @creations.each do |creation| %>
     <li class="span3">
     <div class="thumbnail">
+      <a href="<%= url_for creation %>"><img src="<%= creation.image.thumb.url %>" alt="<%= creation.name %>" width="260" /></a>
       <div class="caption">
         <h5><a href="<%= url_for creation %>"><%= short_name(creation, 20) %></a></h5>
         <h6><a href="<%= url_for profile_path(creation.user) %>"><%= creation.user.name %></a></h6>
-        <a href="<%= url_for creation %>"><img src="<%= creation.image.thumb.url %>" alt="<%= creation.name %>" width="260" /></a>
         <p>
         <% if creation.favorites.count > 0 %>
           <a href="<%= url_for creation_favorites_path(:creation_id => creation.id) %>"><%= creation.favorites.count %><i class="icon-heart"></i></a>
-        <% else %>
-          &nbsp;
-        <% end %>
+        <% else %>&nbsp;<% end %>
         </p>
       </div>
     </div>
     </li>
   <% end %>
 </ul>
-
 <%= render "shared/paging" %>