add payment views and styling

This commit is contained in:
Rishabh Saxena 2016-07-27 19:42:42 +05:30
parent e2d42fbbbb
commit ab262ecb46
4 changed files with 79 additions and 0 deletions

View file

@ -0,0 +1,18 @@
.container
.row
.col-xs-6.col-xs-offset-3
%h1
Payment Summary :
= humanized_money_with_symbol @total_amount_to_pay
- if @payment.errors.any?
.alert.alert-danger
%ul
- @payment.errors.full_messages.each do |msg|
%li= msg
.col-xs-8.col-xs-offset-2.well
= render partial: 'payment'
.row
.col-md-13
%p.text-muted.text-center
%small
The payment is totally secure. Your credit card details will be sent directly to our payment processor.