2015-11-20 19:28:28 -05:00
|
|
|
extends /templates/core/modal-base
|
|
|
|
|
|
|
|
block modal-header-content
|
|
|
|
.clearfix
|
|
|
|
|
|
|
|
|
|
|
|
block modal-body-content
|
|
|
|
.text-center
|
|
|
|
h2.modal-title(data-i18n="signup.sign_up")
|
|
|
|
|
|
|
|
form.form
|
|
|
|
.form-group
|
|
|
|
label.control-label(for="email")
|
|
|
|
span(data-i18n="general.email")
|
|
|
|
input#email.input-large.form-control(name="email", type="email")
|
2015-12-01 20:32:24 -05:00
|
|
|
.help-block use your school email if you have one
|
2015-11-20 19:28:28 -05:00
|
|
|
.form-group
|
|
|
|
label.control-label(for="name")
|
|
|
|
span(data-i18n="general.name") Name
|
|
|
|
if me.get('name')
|
|
|
|
input#name.input-large.form-control(name="name", type="text", value="#{me.get('name')}")
|
|
|
|
else
|
2015-12-01 20:32:24 -05:00
|
|
|
input#name.input-large.form-control(name="name", type="text", value="", placeholder="e.g. Alex W the Skater")
|
|
|
|
.help-block a unique name no one has chosen
|
2015-11-20 19:28:28 -05:00
|
|
|
.form-group
|
|
|
|
label.control-label(for="password")
|
|
|
|
span(data-i18n="general.password") Password
|
|
|
|
input#password.input-large.form-control(name="password", type="password")
|
2015-12-01 20:32:24 -05:00
|
|
|
.help-block pick something you can remember
|
2015-11-20 19:28:28 -05:00
|
|
|
.form-group
|
2015-12-01 20:32:24 -05:00
|
|
|
label.control-label(for="class-code-input")
|
2015-11-20 19:28:28 -05:00
|
|
|
span Class Code
|
2015-12-01 20:32:24 -05:00
|
|
|
input#class-code-input.input-large.form-control(name="classCode")
|
2015-11-20 19:28:28 -05:00
|
|
|
.help-block optional - ask your teacher to give you one!
|
2015-12-01 20:32:24 -05:00
|
|
|
.form-group
|
|
|
|
label.control-label(for="school-input")
|
|
|
|
span(data-i18n="signup.school_name") School Name and City
|
|
|
|
input#school-input.input-large.form-control(name="schoolName", data-i18n="[placeholder]signup.school_name_placeholder")
|
|
|
|
.help-block optional - what school do you go to?
|
2015-11-20 19:28:28 -05:00
|
|
|
|
|
|
|
#errors-alert.alert.alert-danger.hide
|
|
|
|
|
|
|
|
.text-center
|
2015-11-21 14:38:34 -05:00
|
|
|
if view.willPlay
|
2015-11-20 19:28:28 -05:00
|
|
|
input#sign-up-btn.btn.btn-default(type="submit", value="Start Playing")
|
|
|
|
p
|
|
|
|
a#skip-link Skip this, I'll create an account later!
|
|
|
|
else
|
|
|
|
input#sign-up-btn.btn.btn-default(data-i18n="[value]signup.sign_up", type="submit")
|
|
|
|
|
|
|
|
block modal-footer-content
|