payment view improvement

This commit is contained in:
Rishabh Saxena 2016-07-22 00:05:30 +05:30
parent 6d8605073f
commit 851b467235
3 changed files with 2 additions and 32 deletions

View file

@ -20,12 +20,6 @@
= f.label :card_verification_value, 'Security Code (3 on back, AmEx: 4 on front)'
= f.text_field :card_verification_value, class: "form-control", placeholder: "XXX", id: "card_verification_value"
= f.number_field :amount, value: @total_amount_to_pay, class: "form-control", type: 'hidden'
%ul.price-tags.pull-right
%li.text-muted
you will pay
%li
%a
= number_to_currency @total_amount_to_pay
.form-group
= f.submit "Charge Card", class: "btn btn-primary"
.form-group.text-center
= f.submit "Pay #{number_to_currency @total_amount_to_pay, unit: @total_amount_to_pay.symbol}", class: "btn btn-primary"
= link_to "Cancel", conference_conference_registration_path, class: "btn btn-danger"