BikeBikeBike/app/views/conference_administration/_suggested_amounts.html.haml

9 lines
491 B
Plaintext
Raw Normal View History

= columns(medium: 12) do
= form_tag administration_update_path(@this_conference.slug, @admin_step) do
= fieldset :payment_amounts, label: false do
- payment_amounts = @this_conference.payment_amounts.present? ? @this_conference.payment_amounts : Conference.default_payment_amounts
- for i in 1..5 do
= numberfield "payment_amounts[#{i - 1}]", payment_amounts[i - 1], step: 0.01, min: 0.00, label: false
.actions.right
2017-04-09 11:37:16 -07:00
= button :save, value: :save