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