Sha256: 0dff2df6ba6ec12570d9976ade7ef8d95636e1d9c38705462e4a6a90943d7058
Contents?: true
Size: 397 Bytes
Versions: 1
Compression:
Stored size: 397 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.pre1 | lib/signed_form/action_view/form_helper.rb |