Method: Satis::Forms::Builder#color_input

Defined in:
lib/satis/forms/builder.rb

#color_input(method, options = {}, &block) ⇒ Object

Color



363
364
365
366
367
368
# File 'lib/satis/forms/builder.rb', line 363

def color_input(method, options = {}, &block)
  form_group(method, options) do
    render(Satis::ColorPicker::Component.new(form: self, attribute: method, **options,
      &block))
  end
end