Local user is now configurable

Former-commit-id: 19d9d740432459ec65488e5a8b59e1c5719f8001
This commit is contained in:
Ziver Koc 2015-12-10 22:24:19 +01:00
parent 84fd5adb5e
commit 4ac7dcdea7
4 changed files with 44 additions and 38 deletions

View file

@ -3,19 +3,20 @@
<div class="panel panel-default">
<div class="panel-heading">Profile Information</div>
<div class="panel-body">
<form>
<hidden id="id" value="{{user.getId()}}">
<div class="form-group col-md-4">
<label for="username">Username</label>
<input type="text" class="form-control" id="username" value="{{user.username}}">
</div>
<div class="form-group col-md-8">
<label for="address">Address</label>
<input type="text" class="form-control" id="address" value="{{user.address}}">
</div>
<div class="col-md-12">
<button type="submit" class="btn btn-default">Save</button>
</div>
<form method="POST">
<input type="hidden" name="form" value="user">
<input type="hidden" name="id" value="{{user.getId()}}">
<div class="form-group col-md-4">
<label for="username">Username</label>
<input type="text" class="form-control" id="username" name="username" value="{{user.username}}">
</div>
<div class="form-group col-md-8">
<label for="address">Address</label>
<input type="text" class="form-control" id="address" name="address" value="{{user.address}}">
</div>
<div class="col-md-12">
<button type="submit" class="btn btn-default pull-right">Save</button>
</div>
</form>
</div>
</div>