payment view improvement
This commit is contained in:
parent
6d8605073f
commit
851b467235
3 changed files with 2 additions and 32 deletions
|
|
@ -10,7 +10,6 @@
|
|||
*= require osem-splash
|
||||
*= require font-awesome
|
||||
*= require osem-fonts
|
||||
*= require osem-payments
|
||||
*= require bootstrap-markdown
|
||||
*= require bootstrap-datetimepicker
|
||||
*= require leaflet
|
||||
|
|
|
|||
|
|
@ -1,23 +0,0 @@
|
|||
.price-tags {
|
||||
list-style-type: none;
|
||||
padding-top: 2rem;
|
||||
}
|
||||
.price-tags li {
|
||||
line-height: 40px;
|
||||
position: relative;
|
||||
margin-right: -3rem;
|
||||
}
|
||||
.price-tags a {
|
||||
background: #2f991d;
|
||||
color: #fff;
|
||||
font-size: 1.5rem;
|
||||
padding: 9px 10px;
|
||||
text-decoration: none;
|
||||
}
|
||||
.price-tags a:after {
|
||||
content: "";
|
||||
float: left;
|
||||
border-top: 20px solid transparent;
|
||||
border-right: 20px solid #2f991d;
|
||||
border-bottom: 20px solid transparent;
|
||||
}
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue