Sha256: 7f176b3354967d270277af40c820a004ddd14748fd3905511ce89519cd06ad11
Contents?: true
Size: 399 Bytes
Versions: 1
Compression:
Stored size: 399 Bytes
Contents
module SignedForm module ActionView module FormHelper def signed_form_for(record, options = {}, &block) options[:builder] ||= SignedForm::FormBuilder form_for(record, options) do |f| output = capture(f, &block) f.form_signature_tag + output end end end end end ActionView::Base.send :include, SignedForm::ActionView::FormHelper
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
signed_form-0.0.1 | lib/signed_form/action_view/form_helper.rb |