Commit a28686d3 authored by Robert Speicher's avatar Robert Speicher

Fix preferences/show

parent 42d8ebeb
...@@ -49,9 +49,10 @@ ...@@ -49,9 +49,10 @@
.panel-heading .panel-heading
Code preview theme Code preview theme
.panel-body .panel-body
.code_highlight_opts
- color_schemes.each do |color_scheme_id, color_scheme| - color_schemes.each do |color_scheme_id, color_scheme|
= label_tag do = label_tag do
.preview= image_tag "#{color_scheme}-scheme-preview.png" .prev= image_tag "#{color_scheme}-scheme-preview.png"
= f.radio_button :color_scheme_id, color_scheme_id = f.radio_button :color_scheme_id, color_scheme_id
= color_scheme.tr('-_', ' ').titleize = color_scheme.tr('-_', ' ').titleize
......
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