codecombat/app/templates/modal/signup.jade

38 lines
1.8 KiB
Text
Raw Normal View History

2014-01-03 13:32:13 -05:00
extends /templates/modal/modal_base
2014-01-27 19:59:34 -05:00
block modal-header-content
h3(data-i18n="signup.create_account_title") Create Account to Save Progress
2014-01-10 16:31:26 -05:00
2014-01-27 19:59:34 -05:00
block modal-body-content
.modal-content
.modal-body
if showRequiredError
.alert.alert-success
span(data-i18n="signup.required") You need to sign up first before you can go over there. Luckily, it's really easy.
else
p(data-i18n="signup.description") It's free. Just need a couple things and you'll be good to go:
2014-01-27 21:05:39 -05:00
.form
2014-01-27 19:59:34 -05:00
.form-group
label.control-label(for="signup-email", data-i18n="general.email") Email
input#signup-email.form-control.input-large(name="email", type="email")
2014-01-27 21:05:39 -05:00
.form-group
2014-03-08 19:31:15 -05:00
label.control-label(for="signup-password", data-i18n="general.password") Password
2014-01-27 19:59:34 -05:00
input#signup-password.input-large.form-control(name="password", type="password")
hr
2014-01-27 21:05:39 -05:00
.form-group.checkbox
label.control-label(for="signup-subscribe")
2014-01-27 19:59:34 -05:00
input#signup-subscribe(name="subscribe", type="checkbox", checked='checked')
span(data-i18n="signup.email_announcements") Receive announcements by email
2014-01-27 21:05:39 -05:00
.form-group.checkbox
label.control-label(for="signup-confirm-age")
2014-01-27 19:59:34 -05:00
input#signup-confirm-age(name="confirm-age", type="checkbox", checked='checked')
span(data-i18n="signup.coppa") 13+ or non-USA
a(href="https://en.wikipedia.org/wiki/Children's_Online_Privacy_Protection_Act", data-i18n="signup.coppa_why", target="_blank") (Why?)
2014-01-03 13:32:13 -05:00
2014-01-27 19:59:34 -05:00
block modal-body-wait-content
h3(data-i18n="signup.creating") Creating Account...
2014-01-03 13:32:13 -05:00
2014-01-27 19:59:34 -05:00
block modal-footer
.modal-footer
button.btn.btn-primary.btn-large#signup-button(data-i18n="signup.sign_up") Sign Up