summaryrefslogtreecommitdiff
path: root/users/app/views
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-12-17 19:03:45 +0100
committerAzul <azul@leap.se>2012-12-17 19:03:45 +0100
commitbe2d8fbd65f4ed2e1e97b19a3322da20e2fb4eda (patch)
treee4443e2dfcc90529d4cbf72303eacdc580fc5b72 /users/app/views
parentb90ce01890907d1c7f46f46bafcef416570a4c4b (diff)
activate email tab after changing email settings
Diffstat (limited to 'users/app/views')
-rw-r--r--users/app/views/users/edit.html.haml4
1 files changed, 2 insertions, 2 deletions
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