diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-16 12:47:02 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-16 12:53:00 -0400 |
commit | a28686d3317efab7fe407e86ddf08bbac71b1a96 (patch) | |
tree | 249919d8ebfecaf7ebcabb4685c07233740a6030 | |
parent | 42d8ebebb9ca504793eaa4bca633d9ac0f6e9666 (diff) | |
download | gitlab-ce-a28686d3317efab7fe407e86ddf08bbac71b1a96.tar.gz |
Fix preferences/show
-rw-r--r-- | app/views/profiles/preferences/show.html.haml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/app/views/profiles/preferences/show.html.haml b/app/views/profiles/preferences/show.html.haml index 79709da8fa8..18692bd32a3 100644 --- a/app/views/profiles/preferences/show.html.haml +++ b/app/views/profiles/preferences/show.html.haml @@ -49,11 +49,12 @@ .panel-heading Code preview theme .panel-body - - color_schemes.each do |color_scheme_id, color_scheme| - = label_tag do - .preview= image_tag "#{color_scheme}-scheme-preview.png" - = f.radio_button :color_scheme_id, color_scheme_id - = color_scheme.tr('-_', ' ').titleize + .code_highlight_opts + - color_schemes.each do |color_scheme_id, color_scheme| + = label_tag do + .prev= image_tag "#{color_scheme}-scheme-preview.png" + = f.radio_button :color_scheme_id, color_scheme_id + = color_scheme.tr('-_', ' ').titleize .panel.panel-default .panel-heading |