first working version
This commit is contained in:
parent
261ebed165
commit
c9dfecc519
21 changed files with 296 additions and 178 deletions
|
|
@ -41,6 +41,16 @@
|
|||
<label class="custom-control-label" for="admin">Admin Privileges</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="custom-control custom-checkbox">
|
||||
{{if .Data.Disabled}}
|
||||
<input type="checkbox" class="custom-control-input" id="disabled" name="disabled" value="0" checked>
|
||||
{{else}}
|
||||
<input type="checkbox" class="custom-control-input" id="disabled" name="disabled" value="0">
|
||||
{{end}}
|
||||
<label class="custom-control-label" for="disabled">Disabled</label>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
<button class="btn btn-sm btn-primary" type="submit">Update</button>
|
||||
{{if .Admin}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue