34 lines
958 B
HTML
34 lines
958 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
{{template "page_head" "Goffee"}}
|
|
<body>
|
|
<div class="container">
|
|
<h2>User delete confirmation</h2>
|
|
{{if .ErrorMessages }}
|
|
<div class="alert alert-dismissible alert-warning">
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
|
|
<ul>
|
|
{{range $i, $a := .ErrorMessages}}
|
|
<li>{{$a}}</li>
|
|
{{end}}
|
|
</ul>
|
|
</div>
|
|
{{else}}
|
|
{{if .WarningMessages }}
|
|
<ul class="warningmessages">
|
|
{{range $o, $u := .WarningMessages}}
|
|
<li>{{$u}}</li>
|
|
{{end}}
|
|
</ul>
|
|
{{end}}
|
|
<form method="POST" id="confirmdelete_user" action="/admin/users/deleteconfirm">
|
|
{{template "form_input" .FieldKey}}
|
|
{{template "form_button" .ConfirmButton}}
|
|
</form>
|
|
{{end}}
|
|
<hr>
|
|
{{template "content_href" .BackButton}}
|
|
</div>
|
|
{{template "page_footer"}}
|
|
</body>
|
|
</html>
|