summaryrefslogtreecommitdiff
path: root/app/views/profiles/preferences/show.html.haml
diff options
context:
space:
mode:
authorVitaliy @blackst0ne Klachkov <blackst0ne.ru@gmail.com>2017-09-14 09:29:50 +1100
committerVitaliy @blackst0ne Klachkov <blackst0ne.ru@gmail.com>2017-09-14 09:29:50 +1100
commitffd5c98752af378a562e46b6b0fff3f4d7233a19 (patch)
tree1ec844d2ad55ea10e2350270720dc249738fdf67 /app/views/profiles/preferences/show.html.haml
parenta78657a633c1a8fe0aa2c36a2f912ade32327747 (diff)
downloadgitlab-ce-ffd5c98752af378a562e46b6b0fff3f4d7233a19.tar.gz
Fix the default navigation theme selection on invalid id
Diffstat (limited to 'app/views/profiles/preferences/show.html.haml')
-rw-r--r--app/views/profiles/preferences/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/profiles/preferences/show.html.haml b/app/views/profiles/preferences/show.html.haml
index 69885008ecd..66d1d1e8d44 100644
--- a/app/views/profiles/preferences/show.html.haml
+++ b/app/views/profiles/preferences/show.html.haml
@@ -17,7 +17,7 @@
.preview-row
.quadrant.three
.quadrant.four
- = f.radio_button :theme_id, theme.id
+ = f.radio_button :theme_id, theme.id, checked: Gitlab::Themes.for_user(@user).id == theme.id
= theme.name
.col-sm-12