From fa48fa24b5a13ebaa4df2f324974a848bd31ee14 Mon Sep 17 00:00:00 2001 From: Rob H Date: Thu, 24 Jul 2014 11:41:47 +1000 Subject: [PATCH] Restricting links in hubs sidebar to left hand side of row --- app/views/spree/admin/shared/_hubs_sidebar.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/spree/admin/shared/_hubs_sidebar.html.haml b/app/views/spree/admin/shared/_hubs_sidebar.html.haml index 4fe9b1078a..445a45ea6c 100644 --- a/app/views/spree/admin/shared/_hubs_sidebar.html.haml +++ b/app/views/spree/admin/shared/_hubs_sidebar.html.haml @@ -7,8 +7,8 @@ - if @hubs.count > 0 = f.hidden_field :distributor_ids, :multiple => true, value: nil - @hubs.each do |hub| - %a.four.columns.alpha.list-item{ class: "#{cycle('odd','even')}", href: "#{main_app.edit_admin_enterprise_path(hub)}" } - %span.three.columns.alpha + %span.four.columns.alpha.list-item{ class: "#{cycle('odd','even')}" } + %a.three.columns.alpha{ href: "#{main_app.edit_admin_enterprise_path(hub)}" } = hub.name %span.one.column.omega = f.check_box :distributor_ids, { multiple: true }, hub.id, nil