9 <form action=
"/users/submit" method=
"POST">
10 <input type=
"hidden" name=
"userId" value=
"{{.User.Id}}">
12 <label for=
"username">Username:
</label>
13 <input type=
"text" id=
"username" name=
"username" value=
"{{.User.Username}}" {{if .User.Id}} disabled {{end}}
>
16 <input type=
"checkbox" id=
"isAdmin" name=
"isAdmin" value=
"1" {{if .User.IsAdmin}} checked {{end}}
>
17 <label for=
"isAdmin">Is an administrator - can manage system users
</label><br>
21 <label for=
"password">Password:
</label>
22 <input type=
"password" id=
"password" name=
"password">
26 <input type=
"submit" value=
"Save User">
30 <h3>Reset Password
</h3>
31 <form action=
"/users/reset-password" method=
"POST">
32 <input type=
"hidden" name=
"userId" value=
"{{.User.Id}}">
34 <label for=
"newPassword">New Password:
</label>
35 <input type=
"password" id=
"newPassword" name=
"newPassword">
38 <input type=
"submit" value=
"Reset Password">
42 <form action=
"/users/delete" method=
"POST">
43 <input type=
"hidden" name=
"userId" value=
"{{.User.Id}}">
45 <input type=
"submit" value=
"Delete User">