freeCodeCamp/views/account/profile.jade

36 lines
1.3 KiB
Plaintext
Raw Normal View History

extends ../layout
2013-11-20 13:03:10 +00:00
2013-11-19 18:20:50 +00:00
block content
.page-header
h3 Profile Information
2013-12-05 21:42:30 +00:00
form.form-horizontal(action='/account/profile', method='POST')
2014-03-28 17:40:55 +00:00
input(type='hidden', name='_csrf', value=_csrf)
2014-01-07 20:55:56 +00:00
.form-group
label.col-sm-2.control-label(for='email') Email
.col-sm-4
2014-01-07 21:32:59 +00:00
input.form-control(type='email', name='email', id='email', value='#{user.email}')
.form-group
label.col-sm-2.control-label(for='name') Name
.col-sm-4
input.form-control(type='text', name='name', id='name', value='#{user.profile.name}')
.form-group
label.col-sm-2.control-label(for='location') Location
.col-sm-4
input.form-control(type='text', name='location', id='location', value='#{user.profile.location}')
.form-group
label.col-sm-2.control-label(for='website') Website
.col-sm-4
input.form-control(type='text', name='website', id='website', value='#{user.profile.website}')
.form-group
.col-sm-offset-2.col-sm-4
button.btn.btn.btn-primary(type='submit')
2014-07-02 04:41:11 +00:00
span.ion-edit
| Update Profile
2014-01-07 20:55:56 +00:00
2014-01-28 22:35:44 +00:00
p You can delete your account, but keep in mind this action is irreversible.
form(action='/account/delete', method='POST')
input(type='hidden', name='_csrf', value=_csrf)
2014-02-03 23:54:43 +00:00
button.btn.btn-danger(type='submit')
2014-07-01 23:57:33 +00:00
span.ion-trash-b
| Delete my account