Updated account management settings tab

This commit is contained in:
Sahat Yalkabov
2013-12-07 15:14:28 -05:00
parent 2ceb35d036
commit b46c984704
2 changed files with 12 additions and 9 deletions

View File

@@ -8,8 +8,6 @@ body {
.user img { .user img {
border-radius: 50%; border-radius: 50%;
border: 1px solid #777;
padding: 1px;
width: 40px; width: 40px;
height: 40px; height: 40px;
vertical-align: baseline; vertical-align: baseline;

View File

@@ -35,17 +35,22 @@ block content
label.col-sm-2.control-label(for='website') Website label.col-sm-2.control-label(for='website') Website
.col-sm-4 .col-sm-4
input.form-control(type='text', name='website', id='website', value='#{user.profile.website}') input.form-control(type='text', name='website', id='website', value='#{user.profile.website}')
.form-group
.form-group .form-group
button.btn.btn.btn-primary(type='submit') Update Profile button.btn.btn.btn-primary(type='submit') Update Profile
#settings.tab-pane.fade #settings.tab-pane.fade
form.form-horizontal(action='/account/profile', method='POST')
.form-group .form-group
label(for='password') Password label.col-sm-3.control-label(for='password') Password
input.form-control(type='password', name='password', id='password', placeholder='Password') .col-sm-4
input.form-control(type='password', name='password', id='password')
.form-group .form-group
label(for='confirmPassword') Confirm Password label.col-sm-3.control-label(for='confirmPassword') Confirm Password
input.form-control(type='password', id='confirmPassword', placeholder='Confirm Password') .col-sm-4
input.form-control(type='password', id='confirmPassword')
.form-group
.col-sm-offset-3.col-sm-4
button.btn.btn.btn-default(type='submit') Change Password
if messages.length if messages.length
.alert.alert-danger .alert.alert-danger