1
0
Fork 0
forked from goffee/cup

Update sample user admin to user authority, add revoke role to auth

This commit is contained in:
Zeni Kim 2024-12-17 14:23:07 -05:00
parent 43f3ad986e
commit d431963181
5 changed files with 175 additions and 3 deletions

View file

@ -15,7 +15,8 @@
<form method="POST" id="add_user" action="/admin/users/add">
{{template "form_input" .FieldName}}
{{template "form_input" .FieldFullname}}
{{template "form_input" .FieldEmail}}
{{template "form_input" .FieldEmail}}
{{template "form_checkbox" .FieldRoles}}
{{template "form_input" .FieldPassword}}
<hr>
{{template "form_button" .SubmitButton}}