Commit a28686d3 authored by Robert Speicher's avatar Robert Speicher

Fix preferences/show

parent 42d8ebeb
...@@ -49,11 +49,12 @@ ...@@ -49,11 +49,12 @@
.panel-heading .panel-heading
Code preview theme Code preview theme
.panel-body .panel-body
- color_schemes.each do |color_scheme_id, color_scheme| .code_highlight_opts
= label_tag do - color_schemes.each do |color_scheme_id, color_scheme|
.preview= image_tag "#{color_scheme}-scheme-preview.png" = label_tag do
= f.radio_button :color_scheme_id, color_scheme_id .prev= image_tag "#{color_scheme}-scheme-preview.png"
= color_scheme.tr('-_', ' ').titleize = f.radio_button :color_scheme_id, color_scheme_id
= color_scheme.tr('-_', ' ').titleize
.panel.panel-default .panel.panel-default
.panel-heading .panel-heading
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment