Module: SystemPay::FormHelper

Defined in:
lib/system_pay/form_helper.rb

Instance Method Summary collapse

Instance Method Details

#system_pay_hidden_fields(system_pay) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/system_pay/form_helper.rb', line 4

def system_pay_hidden_fields(system_pay)
  res = "\n"  
  system_pay.params.each do |key, value|
    res << hidden_field_tag(key, value) << "\n"
  end
  res.html_safe
end