diff options
Diffstat (limited to 'app/inputs')
| -rw-r--r-- | app/inputs/boolean_input.rb | 14 | ||||
| -rw-r--r-- | app/inputs/custom_simple_form/boolean_input.rb | 4 | 
2 files changed, 11 insertions, 7 deletions
| diff --git a/app/inputs/boolean_input.rb b/app/inputs/boolean_input.rb index a2b9b92ca..da23c3b93 100644 --- a/app/inputs/boolean_input.rb +++ b/app/inputs/boolean_input.rb @@ -1,9 +1,9 @@  class BooleanInput < Formtastic::Inputs::BooleanInput -  def label_with_nested_checkbox -    builder.label( -      method, -      label_text, -      label_html_options.merge(class: "label") -    ) << "" << check_box_html -  end +  # def label_with_nested_checkbox +  #   builder.label( +  #     method, +  #     label_text, +  #     label_html_options.merge(class: "label") +  #   ) << "" << check_box_html +  # end  end diff --git a/app/inputs/custom_simple_form/boolean_input.rb b/app/inputs/custom_simple_form/boolean_input.rb new file mode 100644 index 000000000..1dd456356 --- /dev/null +++ b/app/inputs/custom_simple_form/boolean_input.rb @@ -0,0 +1,4 @@ +module CustomSimpleForm +  class BooleanInput < SimpleForm::Inputs::BooleanInput +  end +end | 
