Added make payment form for Venmo API
This commit is contained in:
@@ -18,16 +18,32 @@ block content
|
|||||||
| API Endspoints
|
| API Endspoints
|
||||||
|
|
||||||
h3 Venmo Profile
|
h3 Venmo Profile
|
||||||
.col-sm-2
|
//.col-sm-2
|
||||||
img(src='#{profile.user.profile_picture_url}')
|
// img(src='#{profile.user.profile_picture_url}')
|
||||||
.col-sm-8
|
//.col-sm-8
|
||||||
.lead Balance:
|
// .lead Balance:
|
||||||
strong $#{profile.balance}
|
// strong $#{profile.balance}
|
||||||
.lead Display Name:
|
// .lead Display Name:
|
||||||
strong #{profile.user.display_name}
|
// strong #{profile.user.display_name}
|
||||||
.lead Email:
|
// .lead Email:
|
||||||
strong #{profile.user.email}
|
// strong #{profile.user.email}
|
||||||
.lead Phone:
|
// .lead Phone:
|
||||||
strong #{profile.user.phone}
|
// strong #{profile.user.phone}
|
||||||
|
//
|
||||||
|
|
||||||
|
form(role='form', method='POST')
|
||||||
|
legend Make a payment
|
||||||
|
input(type='hidden', name='_csrf', value=token)
|
||||||
|
.form-group
|
||||||
|
label.control-label(for='user') Email, Phone, or User ID
|
||||||
|
input.form-control(type='text', name='user', id='user', autofocus=true)
|
||||||
|
.form-group
|
||||||
|
label.control-label(for='note') Note
|
||||||
|
input.form-control(type='text', name='note', id='note')
|
||||||
|
.form-group
|
||||||
|
label.control-label(for='amount') Amount
|
||||||
|
input.form-control(type='text', name='amount', id='amount')
|
||||||
|
.form-group
|
||||||
|
button.btn.btn-default(type='submit')
|
||||||
|
i.fa.fa-usd
|
||||||
|
| Send
|
||||||
|
Reference in New Issue
Block a user