Commit a31585db

mo k <mo@mokhan.ca>
2012-07-29 04:33:13
fix validation with mixed up <i> and <span>
1 parent d13ca6d
Changed files (1)
app/views/shared/_creation_image_gallery.html.erb
@@ -8,7 +8,7 @@
       </div>
       <a href="<%= url_for creation %>"><img src="<%= creation.image.thumb.url %>" alt="<%= creation.name %>" /></a>
       <div class="caption">
-        <a href="<%= url_for creation_favorites_path(:creation_id => creation.id) %>"><span><%= creation.favorites.count %><i class="icon-heart"></span></i></a>
+        <a href="<%= url_for creation_favorites_path(:creation_id => creation.id) %>"><span><%= creation.favorites.count %></span><i class="icon-heart"></i></a>
         <a href="<%= url_for creation %>#comments"><span class="badge badge-success" title="<%= pluralize( creation.comment_threads.count, "comments") %>"><%= creation.comment_threads.count %></span></a>
       </div>
     </div>