Module: ClientSideValidations::Rails2::ActionView::Helpers::FormHelper
- Defined in:
- lib/client_side_validations/rails_2/action_view/form_helper.rb
Instance Method Summary collapse
Instance Method Details
#form_for(record_or_name_or_array, *args, &proc) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/client_side_validations/rails_2/action_view/form_helper.rb', line 3 def form_for(record_or_name_or_array, *args, &proc) html = super if match = html.match(/<script.+$/) concat(match[0]) end end |