2015-08-08 20:05:30 +01:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="name">Name</label>
|
2016-01-13 22:22:30 +00:00
|
|
|
@include('form.text', ['name' => 'name'])
|
2015-08-08 20:05:30 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="email">Email</label>
|
2016-01-13 22:22:30 +00:00
|
|
|
@include('form.text', ['name' => 'email'])
|
2015-08-08 20:05:30 +01:00
|
|
|
</div>
|
|
|
|
|
2016-02-27 19:24:42 +00:00
|
|
|
@if(userCan('users-manage'))
|
2015-08-29 15:03:42 +01:00
|
|
|
<div class="form-group">
|
2015-09-04 17:16:58 +01:00
|
|
|
<label for="role">User Role</label>
|
2016-05-01 19:36:53 +01:00
|
|
|
@include('form/role-checkboxes', ['name' => 'roles', 'roles' => $roles])
|
2015-08-29 15:03:42 +01:00
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
2015-09-04 17:16:58 +01:00
|
|
|
@if(isset($model))
|
2015-08-29 15:03:42 +01:00
|
|
|
<div class="form-group">
|
2015-09-04 17:16:58 +01:00
|
|
|
<span class="text-muted">
|
|
|
|
Only fill the below if you would like <br>to change your password:
|
|
|
|
</span>
|
2015-08-29 15:03:42 +01:00
|
|
|
</div>
|
2015-08-08 20:05:30 +01:00
|
|
|
@endif
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="password">Password</label>
|
2016-01-13 22:22:30 +00:00
|
|
|
@include('form.password', ['name' => 'password'])
|
2015-08-08 20:05:30 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="password-confirm">Confirm Password</label>
|
2016-01-13 22:22:30 +00:00
|
|
|
@include('form.password', ['name' => 'password-confirm'])
|
2015-08-08 20:05:30 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2016-02-16 21:25:11 +00:00
|
|
|
<a href="/settings/users" class="button muted">Cancel</a>
|
2015-08-08 20:05:30 +01:00
|
|
|
<button class="button pos" type="submit">Save</button>
|
2015-12-09 22:30:55 +00:00
|
|
|
</div>
|
|
|
|
|