added features list
This commit is contained in:
parent
a8a4771ca4
commit
1b2a24a901
4 changed files with 34 additions and 17 deletions
|
|
@ -679,12 +679,14 @@ const (
|
|||
</div>
|
||||
{{if .Admin}}
|
||||
<div class="form-group">
|
||||
<label class="col-form-label" for="admin">Admin Privileges</label>
|
||||
{{if .Data.Admin}}
|
||||
<input type="checkbox" id="admin" name="admin" value="0" checked>
|
||||
{{else}}
|
||||
<input type="checkbox" id="admin" name="admin" value="0">
|
||||
{{end}}
|
||||
<div class="custom-control custom-checkbox">
|
||||
{{if .Data.Admin}}
|
||||
<input type="checkbox" class="custom-control-input" id="admin" name="admin" value="0" checked>
|
||||
{{else}}
|
||||
<input type="checkbox" class="custom-control-input" id="admin" name="admin" value="0">
|
||||
{{end}}
|
||||
<label class="custom-control-label" for="admin">Admin Privileges</label>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
<button class="btn btn-sm btn-primary" type="submit">Update</button>
|
||||
|
|
@ -735,8 +737,10 @@ const (
|
|||
<input class="form-control input-sm" type="password" id="repeat" name="repeat" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-form-label" for="admin">Admin Privileges</label>
|
||||
<input type="checkbox" id="admin" name="admin" value="0">
|
||||
<div class="custom-control custom-checkbox">
|
||||
<input type="checkbox" class="custom-control-input" id="admin" name="admin" value="0">
|
||||
<label class="custom-control-label" for="admin">Admin Privileges</label>
|
||||
</div>
|
||||
</div>
|
||||
<button class="btn btn-sm btn-primary" type="submit">Create</button>
|
||||
<a href="/users" class="btn btn-sm btn-primary">Back</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue