From 7af9e603fa4a5db3f2e1ac65a9674f9329e3ef6e Mon Sep 17 00:00:00 2001 From: Brice Sanchez Date: Thu, 12 Mar 2015 16:58:10 -0400 Subject: [PATCH] Improve markup --- app/views/refinery/retailers/retailers/index.html.erb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/views/refinery/retailers/retailers/index.html.erb b/app/views/refinery/retailers/retailers/index.html.erb index 5b89474..5c73b44 100644 --- a/app/views/refinery/retailers/retailers/index.html.erb +++ b/app/views/refinery/retailers/retailers/index.html.erb @@ -1,7 +1,7 @@ <% content_for :body do %> -
+
<% @retailers.each do |country, retailers| %> -
+

<%= country_name(country) %>

    <%= render partial: 'retailer', collection: retailers %> @@ -24,4 +24,6 @@ <% end %> <% end %> -<%= render '/refinery/content_page' %> \ No newline at end of file +
    + <%= render '/refinery/content_page' %> +
    \ No newline at end of file