Module: SignedForm::SimpleForm::ActionView::FormHelper
- Defined in:
- lib/signed_form/simple_form/action_view/form_helper.rb
Instance Method Summary collapse
Instance Method Details
#signed_simple_form_for(record, options = {}, &block) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/signed_form/simple_form/action_view/form_helper.rb', line 5 def signed_simple_form_for(record, = {}, &block) [:builder] ||= SignedForm::SimpleForm::FormBuilder simple_form_for(record, ) do |f| output = capture(f, &block) f.form_signature_tag + output end end |