mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-04 12:51:12 -05:00
33 lines
1.3 KiB
Text
33 lines
1.3 KiB
Text
form.modal-body.coppa-deny
|
|
.modal-body-content
|
|
.parent-email-input-group.form-group
|
|
if !view.state.get('parentEmailSent')
|
|
label.control-label.text-h4(for="parent-email-input")
|
|
span(data-i18n="signup.enter_parent_email")
|
|
input#parent-email-input(type="email" name="parentEmail" value=state.get('parentEmail'))
|
|
|
|
if state.get('error')
|
|
p.small.error
|
|
span(data-i18n="signup.parent_email_error")
|
|
|
|
p.small.parent-email-blurb.render
|
|
span
|
|
!= translate('signup.parent_email_blurb').replace('{{email_link}}', '<a href="mailto:team@codecombat.com">team@codecombat.com</a>')
|
|
|
|
|
|
if view.state.get('parentEmailSent')
|
|
p.small.parent-email-blurb
|
|
span(data-i18n="signup.parent_email_sent")
|
|
|
|
a.btn.btn-navy.btn-lg(href="/play" data-dismiss="modal") Play without saving
|
|
|
|
// In reverse order for tabbing purposes
|
|
.history-nav-buttons
|
|
button.send-parent-email-button.btn.btn-lg.btn-navy(type='submit', disabled=state.get('parentEmailSent') || state.get('parentEmailSending'))
|
|
if state.get('parentEmailSent')
|
|
span(data-i18n="common.sent")
|
|
else
|
|
span(data-i18n="common.send")
|
|
|
|
button.back-btn.btn.btn-lg.btn-navy-alt(type='button')
|
|
span(data-i18n="common.back")
|