overleaf/services/web/app/views/user/register.jade
Henry Oswald f2069c6208 converted all analytics to use new google analytics, removing mixpanel
and heap. Not tracking subscriptions or cancelations yet.
2014-03-08 19:00:26 +00:00

37 lines
1.1 KiB
Text

extends ../layout
block content
.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
.row
.span-box.span4.offset4
.page-header
h1 Register
.messageArea
form#registerFormShort(method="post")
input(name='_csrf', type='hidden', value=csrfToken)
input(name='redir', type='hidden', value=redir)
.clearfix
label(for='xlInput') Email
.input
input#email.span4.email.required(type='email', name='email', value='#{new_email}')
.clearfix
label(for='xlInput') Password
.input
input#password.span4.required(type='password', name='password')
.actions
button#registerButton.btn-primary.btn.btn-xlarge(type='submit') Register
include ../general/small-footer