Module: ClientSideValidations::Formtastic::Helpers::InputHelper
- Defined in:
- lib/client_side_validations/formtastic/helpers/input_helper.rb
Instance Method Summary collapse
Instance Method Details
#input(method, options = {}) ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'lib/client_side_validations/formtastic/helpers/input_helper.rb', line 2 def input(method, = {}) if .key?(:validate) [:input_html] ||= {} [:input_html].merge!(:validate => [:validate]) .delete(:validate) end super(method, ) end |