From ae4b012f7bcce717838c68844e897f2208433b69 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Sat, 13 Jul 2013 21:30:48 -0400 Subject: [PATCH 1/2] try non-center rows for browse --- views/browse.erb | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/views/browse.erb b/views/browse.erb index 2f13f017..61ec7029 100644 --- a/views/browse.erb +++ b/views/browse.erb @@ -1,28 +1,9 @@
-
-
- DERPIE PIKACHU -
-
- DERPIE PIKACHU -
-
- DERPIE PIKACHU -
-
- DERPIE PIKACHU -
-
- - Put browse code here - - - <% count = 0 %> <% @sites.each_with_index do |site,i| %> <% if count == 0 %> -
+
<% end %> <% count += 1 %> From 53cb5ded6d28daf0cca1878d4964739fb0779ee5 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Sat, 13 Jul 2013 21:33:01 -0400 Subject: [PATCH 2/2] try to fix lack of closing row div --- views/browse.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/browse.erb b/views/browse.erb index 61ec7029..e6fc7611 100644 --- a/views/browse.erb +++ b/views/browse.erb @@ -11,7 +11,7 @@ DERPIE PIKACHU
- <% if count == 4 %> + <% if count == 4 || @sites.length == i %>
<% count = 0 %> <% end %>