cadoles-arcad/template/layouts/admin_user_delete.html.tmpl

40 lines
1.2 KiB
Cheetah
Raw Normal View History

2022-05-11 21:38:20 +02:00
{{define "title"}}Informations de l'utilisateur - Administration - Arcad{{end}}
{{define "body"}}
{{template "header" .}}
<section class="home is-fullheight section">
<div class="container">
<div class="columns">
<div class="column is-2">
{{template "admin_menu" ""}}
</div>
<div class="column is-10">
{{template "flash" .}}
<form class="has-margin-top-small" action="/admin/users/{{ .User.ID }}/delete" method="post">
{{ .csrfField }}
<div class="message is-warning">
<div class="message-body">
Êtes vous sûr de vouloir supprimer le compte de l'utilisateur "{{ .User.Nickname }}" ({{ .User.ID }}) ?
</div>
</div>
<div class="field is-grouped is-grouped-right">
<p class="control">
<a href="/admin/users/{{.User.ID}}" class="button is-light">
Annuler
</a>
</p>
<p class="control">
<input type="submit" class="button is-danger" value="Supprimer">
</p>
</div>
</form>
</div>
</div>
</div>
</section>
{{end}}
{{define "body_script"}}
<script defer src="/admin.js"></script>
{{end}}
{{template "base" .}}