Module: Card::Set::TypePlusRight::CustomizedBootswatchSkin::Colors::HtmlFormat
- Extended by:
- AbstractFormat
- Defined in:
- tmpsets/set/mod026-bootstrap/type_plus_right/customized_bootswatch_skin/colors.rb
Instance Method Summary collapse
Instance Method Details
#theme_color_picker(name, value) ⇒ Object
72 73 74 75 76 77 78 |
# File 'tmpsets/set/mod026-bootstrap/type_plus_right/customized_bootswatch_skin/colors.rb', line 72 def theme_color_picker name, value # value = value[1..-1] if value.start_with? "$" = VARIABLE_NAMES[:colors].map { |var| "$#{var}" } << value unless .include? value select_tag "theme_colors[#{name}]", (, value), class: "tags form-control" end |