From be2d8fbd65f4ed2e1e97b19a3322da20e2fb4eda Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 17 Dec 2012 19:03:45 +0100 Subject: activate email tab after changing email settings --- users/app/views/users/edit.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'users/app/views') diff --git a/users/app/views/users/edit.html.haml b/users/app/views/users/edit.html.haml index 92ab71b..a2a0942 100644 --- a/users/app/views/users/edit.html.haml +++ b/users/app/views/users/edit.html.haml @@ -1,9 +1,9 @@ .span8.offset2 %h2=t :settings %ul.nav.nav-tabs - %li.active + %li{:class => email_settings? ? :inactive : :active} %a{:href => '#account', 'data-toggle' => 'tab'}Account - %li + %li{:class => email_settings? ? :active : :inactive} %a{:href => '#email', 'data-toggle' => 'tab'}Email .tab-content -- cgit v1.2.3