1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-11 21:10:26 +00:00
mycorrhiza/admin/view_delete_user.html
2022-08-06 22:33:37 +05:00

21 lines
728 B
HTML

{{define "delete user?"}}Delete user {{.}}?{{end}}
{{define "title"}}{{template "delete user?" .U.Name}}{{end}}
{{define "body"}}
<main class="main-width form-wrap">
<h1>{{template "delete user?" .U.Name}}</h1>
{{if .Form.HasError}}
<div class="notice notice--error">
<strong>{{template "error"}}:</strong>
{{.Form.Error}}
</div>
{{end}}
<p>{{block "delete user warning" .}}Are you sure you want to delete them from the database? This action is irreversible.{{end}}</p>
<form action="" method="post">
<input class="btn btn_destructive" type="submit" value="{{template "delete"}}">
<a class="btn btn_weak" href="/admin/users/{{.U.Name}}/edit">{{template "cancel"}}</a>
</form>
</main>
{{end}}