mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-04 21:01:06 -05:00
37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
extends /templates/core/modal-base
|
|
|
|
block modal-header-content
|
|
h3 Administer User
|
|
h4 #{user.get('name') || 'Unnamed'} / #{user.get('email')}
|
|
span= user.id
|
|
|
|
|
|
block modal-body-content
|
|
|
|
h3 Stripe Benefit
|
|
.form
|
|
.form-group
|
|
.radio
|
|
label
|
|
input(type="radio" name="stripe-benefit" value="" checked=none)
|
|
| None
|
|
.radio
|
|
label
|
|
input(type="radio" name="stripe-benefit" value="free" checked=free)
|
|
| Free
|
|
.radio
|
|
label
|
|
input(type="radio" name="stripe-benefit" value="free-until" checked=FreeUntil)
|
|
| Free Until
|
|
input.form-control.spl(type="date" name="stripe-free-until" value=freeUntilDate)#free-until-date
|
|
.radio
|
|
label
|
|
input(type="radio" name="stripe-benefit" value="coupon" checked=coupon)
|
|
| Coupon
|
|
select.form-control#coupon-select
|
|
for couponOption in coupons
|
|
option(value=couponOption.id selected=coupon===couponOption.id)= couponOption.format
|
|
|
|
block modal-footer-content
|
|
button#save-changes.btn.btn-primary Save Changes
|
|
|