%section#sidebar{ role: "complementary", "ng-controller" => "SidebarCtrl", "ng-class" => "{'active' : active()}"} - if spree_current_user.nil? %tabset = render partial: "shared/login_sidebar" = render partial: "shared/signup_sidebar" = render partial: "shared/forgot_sidebar" - else #account{"ng-controller" => "AccountSidebarCtrl"} .row You have an account! Well done = yield :sidebar