codecombat/app/templates/core/create-account-modal/coppa-deny-view.jade

34 lines
1.3 KiB
Text
Raw Normal View History

2016-06-07 17:51:41 -04:00
form.modal-body.coppa-deny
.modal-body-content
.parent-email-input-group.form-group
2016-06-30 18:32:58 -04:00
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'))
2016-06-07 17:51:41 -04:00
2016-06-30 18:32:58 -04:00
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>')
2016-06-07 17:51:41 -04:00
2016-06-30 18:32:58 -04:00
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
2016-06-07 17:51:41 -04:00
// In reverse order for tabbing purposes
2016-06-30 18:32:58 -04:00
.history-nav-buttons
2016-06-07 17:51:41 -04:00
button.send-parent-email-button.btn.btn-lg.btn-navy(type='submit', disabled=state.get('parentEmailSent') || state.get('parentEmailSending'))
if state.get('parentEmailSent')
2016-06-30 18:32:58 -04:00
span(data-i18n="common.sent")
2016-06-07 17:51:41 -04:00
else
2016-06-30 18:32:58 -04:00
span(data-i18n="common.send")
2016-06-07 17:51:41 -04:00
2016-06-30 18:32:58 -04:00
button.back-btn.btn.btn-lg.btn-navy-alt(type='button')
span(data-i18n="common.back")