Module: SimpleFormWithClientValidation::Components::LabelInput

Extended by:
ActiveSupport::Concern
Included in:
Inputs::Base
Defined in:
lib/simple_form_with_client_validation/components/label_input.rb

Instance Method Summary collapse

Instance Method Details

#label_inputObject



10
11
12
# File 'lib/simple_form_with_client_validation/components/label_input.rb', line 10

def label_input
  (options[:label] == false ? "" : label) + input
end