2016-06-14 00:40:39 +02:00
|
|
|
.container-fluid: .row: .col-sm-6.col-lg-4.col-sm-offset-3.col-lg-offset-4
|
2016-05-23 21:29:38 +02:00
|
|
|
h3.text-center {{ user.name }}
|
|
|
|
|
|
|
|
hr
|
|
|
|
form.form-horizontal
|
|
|
|
.form-group
|
|
|
|
label.control-label.col-sm-4 Name
|
|
|
|
.col-sm-8: input.form-control(type="text" placeholder="Your name" ng-model="user.name")
|
|
|
|
.form-group
|
|
|
|
label.control-label.col-sm-4 Username
|
|
|
|
.col-sm-8: input.form-control(type="text" placeholder="Username" ng-model="user.username")
|
|
|
|
.form-group
|
|
|
|
label.control-label.col-sm-4 Email
|
|
|
|
.col-sm-8: input.form-control(type="email" placeholder="Email address" ng-model="user.email")
|
|
|
|
.form-group
|
|
|
|
label.control-label.col-sm-4 Password
|
|
|
|
.col-sm-8: input.form-control(type="password" placeholder="Enter new password" ng-model="user.password")
|
|
|
|
.form-group: .col-sm-8.col-sm-offset-4
|
|
|
|
button.btn.btn-success(ng-click="updateUser()") Update Profile
|
|
|
|
button.btn.btn-default(ng-if="$state.includes('users.user')" ui-sref="users.list") back
|
|
|
|
|
|
|
|
|
|
|
|
hr(ng-if="!is_self")
|
|
|
|
|
|
|
|
.row(ng-if="!is_self")
|
|
|
|
.col-sm-8.col-sm-offset-4
|
|
|
|
button.btn.btn-danger(ng-click="deleteUser()") Delete user
|