Module: SallieMaeHelper
- Defined in:
- app/helpers/sallie_mae_helper.rb
Instance Method Summary collapse
Instance Method Details
#sallie_mae_button(payment, options = {}) ⇒ Object
2 3 4 5 6 7 8 9 10 |
# File 'app/helpers/sallie_mae_helper.rb', line 2 def (payment,={}) [:hide_form] = true [:student_firstname] = false [:student_lastname] = false [:student_email] = false [:account] = false [:line_items] = false sallie_mae_form(payment,) end |
#sallie_mae_form(payment, options = {}) ⇒ Object
12 13 14 15 16 |
# File 'app/helpers/sallie_mae_helper.rb', line 12 def sallie_mae_form(payment,={}) [:button_label] ||= "Make a Payment" [:legend_text] ||= "" render 'sallie_mae/sallie_mae_form', payment: payment, options: end |