2015-11-20 19:28:28 -05:00
|
|
|
extends /templates/core/modal-base
|
|
|
|
|
|
|
|
block modal-header-content
|
|
|
|
.clearfix
|
2015-12-08 15:05:08 -05:00
|
|
|
|
|
|
|
|
2015-11-20 19:28:28 -05:00
|
|
|
block modal-body-content
|
|
|
|
.text-center
|
|
|
|
h2.modal-title(data-i18n="signup.sign_up")
|
2015-12-08 15:05:08 -05:00
|
|
|
|
2015-11-20 19:28:28 -05:00
|
|
|
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-08 15:05:08 -05:00
|
|
|
.help-block(data-i18n="courses.use_school_email")
|
2015-11-20 19:28:28 -05:00
|
|
|
.form-group
|
|
|
|
label.control-label(for="name")
|
2015-12-08 15:05:08 -05:00
|
|
|
span(data-i18n="general.name")
|
2015-11-20 19:28:28 -05:00
|
|
|
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")
|
2015-12-08 15:05:08 -05:00
|
|
|
.help-block(data-i18n="courses.unique_name")
|
2015-11-20 19:28:28 -05:00
|
|
|
.form-group
|
|
|
|
label.control-label(for="password")
|
2015-12-08 15:05:08 -05:00
|
|
|
span(data-i18n="general.password")
|
2015-11-20 19:28:28 -05:00
|
|
|
input#password.input-large.form-control(name="password", type="password")
|
2015-12-08 15:05:08 -05:00
|
|
|
.help-block(data-i18n="courses.pick_something")
|
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-12-08 15:05:08 -05:00
|
|
|
span(data-i18n="courses.class_code")
|
2015-12-02 15:05:43 -05:00
|
|
|
input#class-code-input.input-large.form-control(name="classCode", value=view.classCode)
|
2015-12-08 15:05:08 -05:00
|
|
|
.help-block(data-i18n="courses.optional_ask")
|
2015-12-01 20:32:24 -05:00
|
|
|
.form-group
|
|
|
|
label.control-label(for="school-input")
|
2015-12-08 15:05:08 -05:00
|
|
|
span(data-i18n="signup.school_name")
|
2015-12-01 20:32:24 -05:00
|
|
|
input#school-input.input-large.form-control(name="schoolName", data-i18n="[placeholder]signup.school_name_placeholder")
|
2015-12-08 15:05:08 -05:00
|
|
|
.help-block(data-i18n="courses.optional_school")
|
|
|
|
|
2015-11-20 19:28:28 -05:00
|
|
|
#errors-alert.alert.alert-danger.hide
|
|
|
|
|
|
|
|
.text-center
|
2016-03-30 19:20:37 -04:00
|
|
|
input#sign-up-btn.btn.btn-default(data-i18n="[value]signup.sign_up", type="submit")
|
2015-12-08 15:05:08 -05:00
|
|
|
|
|
|
|
block modal-footer-content
|