|
@@ -0,0 +1,21 @@
|
|
|
+<div class="pure-form pure-form-aligned">
|
|
|
+ <fieldset>
|
|
|
+ <div *ngIf="user.id" class="pure-control-group">
|
|
|
+ <label for="username">User Id</label>
|
|
|
+ <input readonly id="username" [(ngModel)]="user.username" value="{{user.id}}">
|
|
|
+ </div>
|
|
|
+ <div class="pure-control-group">
|
|
|
+ <label for="username">Username</label>
|
|
|
+ <input id="username" [(ngModel)]="user.username" placeholder="Username">
|
|
|
+ </div>
|
|
|
+ <div class="pure-control-group">
|
|
|
+ <label for="password">Password</label>
|
|
|
+ <input id="password" [(ngModel)]="user.password" type="password" placeholder="Password">
|
|
|
+ </div>
|
|
|
+ <div class="pure-control-group">
|
|
|
+ <label for="fullname">Fullname</label>
|
|
|
+ <input id="fullname" [(ngModel)]="user.fullname" placeholder="Fullname">
|
|
|
+ </div>
|
|
|
+ <button (click)="back()" class="pure-button pure-button-primary">Cancel</button> <button (click)="save()" class="pure-button pure-button-primary">Save</button>
|
|
|
+ </fieldset>
|
|
|
+</div>
|