2014-01-07 18:36:44 +00:00
|
|
|
extends ../layout
|
2013-11-20 13:03:10 +00:00
|
|
|
|
2013-11-19 18:20:50 +00:00
|
|
|
block content
|
2014-01-07 19:23:29 +00:00
|
|
|
.page-header
|
|
|
|
h3 Profile Information
|
2013-12-05 21:42:30 +00:00
|
|
|
|
2014-01-07 19:23:29 +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
|
2014-02-06 09:40:13 +00:00
|
|
|
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}')
|
2014-01-07 19:23:29 +00:00
|
|
|
.form-group
|
2014-02-06 09:40:13 +00:00
|
|
|
label.col-sm-2.control-label(for='name') Name
|
|
|
|
.col-sm-4
|
2014-01-07 19:23:29 +00:00
|
|
|
input.form-control(type='text', name='name', id='name', value='#{user.profile.name}')
|
|
|
|
.form-group
|
2014-02-06 09:40:13 +00:00
|
|
|
label.col-sm-2.control-label(for='location') Location
|
|
|
|
.col-sm-4
|
2014-01-07 19:23:29 +00:00
|
|
|
input.form-control(type='text', name='location', id='location', value='#{user.profile.location}')
|
|
|
|
.form-group
|
2014-02-06 09:40:13 +00:00
|
|
|
label.col-sm-2.control-label(for='website') Website
|
|
|
|
.col-sm-4
|
2014-01-07 19:23:29 +00:00
|
|
|
input.form-control(type='text', name='website', id='website', value='#{user.profile.website}')
|
|
|
|
.form-group
|
2014-02-06 09:40:13 +00:00
|
|
|
.col-sm-offset-2.col-sm-4
|
2014-02-04 05:37:32 +00:00
|
|
|
button.btn.btn.btn-primary(type='submit')
|
2014-07-02 04:41:11 +00:00
|
|
|
span.ion-edit
|
2014-02-04 05:37:32 +00:00
|
|
|
| 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.
|
2014-01-07 19:23:29 +00:00
|
|
|
form(action='/account/delete', method='POST')
|
2014-04-18 09:05:00 +00:00
|
|
|
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
|
2014-10-21 20:01:22 +00:00
|
|
|
| Delete my account
|