|
@@ -1,7 +1,45 @@
|
1
|
1
|
<!-- Page Content -->
|
2
|
2
|
<div class="container">
|
3
|
|
-
|
4
|
|
- <div class="row">
|
5
|
|
-
|
6
|
|
- </div>
|
|
3
|
+ <form ng-submit="submit()">
|
|
4
|
+ <div class="form-group">
|
|
5
|
+ <div class="row co-sm-8 col-sm-offset-2">
|
|
6
|
+ <div class="form-group">
|
|
7
|
+ <label for="email" class="col-sm-2 control-label">Email</label>
|
|
8
|
+ <div class="col-sm-9">
|
|
9
|
+ <input id="email" class="form-control" ng-model="user.Email" lu-enable-permission="LU_USER_EDIT_ME"/>
|
|
10
|
+ </div>
|
|
11
|
+ </div>
|
|
12
|
+ <div class="form-group">
|
|
13
|
+ <label for="firstname" class="col-sm-2 control-label">Firstname</label>
|
|
14
|
+ <div class="col-sm-9">
|
|
15
|
+ <input id="firstname" class="form-control" ng-model="user.Firstname" lu-enable-permission="LU_USER_EDIT_ME"/>
|
|
16
|
+ </div>
|
|
17
|
+ </div>
|
|
18
|
+ <div class="form-group">
|
|
19
|
+ <label for="lastname" class="col-sm-2 control-label">Lastname</label>
|
|
20
|
+ <div class="col-sm-9">
|
|
21
|
+ <input id="lastname" class="form-control" ng-model="user.Lastname" lu-enable-permission="LU_USER_EDIT_ME"/>
|
|
22
|
+ </div>
|
|
23
|
+ </div>
|
|
24
|
+ <div class="form-group" lu-show-permission="LU_USER_SET_PASSWORD_ME">
|
|
25
|
+ <label for="password" class="col-sm-2 control-label">Password</label>
|
|
26
|
+ <div class="col-sm-9">
|
|
27
|
+ <input id="password" class="form-control" type="password" ng-model="userPassword.value"
|
|
28
|
+ name="password" ui-validate="passwordValidation"/>
|
|
29
|
+ </div>
|
|
30
|
+ <div class="clearfix"></div>
|
|
31
|
+ <label for="password2" class="col-sm-2 control-label">Confirmation</label>
|
|
32
|
+ <div class="col-sm-9">
|
|
33
|
+ <input id="password2" class="form-control" type="password" ng-model="userPassword.confirm"
|
|
34
|
+ name="password2" ui-validate="password2Validation" ui-validate-watch="'userPassword.value'"/>
|
|
35
|
+ </div>
|
|
36
|
+ <div class="clearfix"></div>
|
|
37
|
+ <div class="col-sm-offset-2 col-sm-9">
|
|
38
|
+ <p class="error" ng-show="form.password.$error.length">Passwords is too short</p>
|
|
39
|
+ <p class="error" ng-show="form.password2.$error.same_passwords">Passwords do not match</p>
|
|
40
|
+ </div>
|
|
41
|
+ </div>
|
|
42
|
+ </div>
|
|
43
|
+ </div>
|
|
44
|
+ </form>
|
7
|
45
|
</div>
|