overleaf/services/web/app/views/user/register.jade

34 lines
1.1 KiB
Text
Raw Normal View History

2014-02-12 05:23:40 -05:00
extends ../layout
block content
2014-06-09 05:19:02 -04:00
.content.content-alt
.container
.row
.registration_message
if sharedProjectData.user_first_name !== undefined
h1 #{sharedProjectData.user_first_name} would like you to view '#{sharedProjectData.project_name}'
div Join ShareLaTeX to view this project
else if newTemplateData.templateName !== undefined
h1 Please register to edit the '#{newTemplateData.templateName}' template
div Already have a ShareLaTeX account?
a(href="/login") Login here
2014-02-12 05:23:40 -05:00
2014-06-09 05:19:02 -04:00
.row
.col-md-6.col-md-offset-3.col-lg-4.col-lg-offset-4
.card
.page-header
h1 Register
form(async-form="register", action="/register", ng-cloak)
2014-06-09 05:19:02 -04:00
input(name='_csrf', type='hidden', value=csrfToken)
input(name='redir', type='hidden', value=redir)
2014-06-17 11:19:40 -04:00
form-messages
2014-06-09 05:19:02 -04:00
.form-group
label(for='email') Email
2014-06-17 11:19:40 -04:00
input.form-control(type='email', name='email', value='#{new_email}')
2014-06-09 05:19:02 -04:00
.form-group
label(for='password') Password
2014-06-17 11:19:40 -04:00
input.form-control(type='password', name='password')
2014-06-09 05:19:02 -04:00
.actions
2014-06-17 11:19:40 -04:00
button.btn-primary.btn(type='submit') Register
2014-02-12 05:23:40 -05:00