36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
extends ../layout
|
|
|
|
block content
|
|
.page-header
|
|
h3 Profile Information
|
|
|
|
form.form-horizontal(action='/account/profile', method='POST')
|
|
input(type='hidden', name='_csrf', value=_csrf)
|
|
.form-group
|
|
label.col-sm-2.control-label(for='email') Email
|
|
.col-sm-4
|
|
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')
|
|
span.ion-edit
|
|
| Update Profile
|
|
|
|
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)
|
|
button.btn.btn-danger(type='submit')
|
|
span.ion-trash-b
|
|
| Delete my account |