cup/storage/templates/admin_confirmuserdel.html

35 lines
958 B
HTML
Raw Normal View History

2024-12-06 04:48:10 -05:00
<!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>