1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-10-30 03:36:16 +00:00
mycorrhiza/hypview/view_delete.html
2022-06-16 14:19:42 +03:00

23 lines
904 B
HTML

{{define "title"}}{{template "delete hypha?" .HyphaName}}{{end}}
{{define "delete hypha?"}}Delete {{beautifulName .}}?{{end}}
{{define "body"}}
<main class="main-width">
<form class="modal" action="/delete/{{.HyphaName}}" method="post">
<fieldset class="modal__fieldset">
<legend class="modal__title">
{{block "delete [[hypha]]?" .HyphaName}}Delete <a href="/hypha/{{.}}">{{beautifulName .}}</a>?{{end}}
</legend>
<p class="modal__confirmation-msg">
{{block "want to delete?" .}}Do you really want to delete this hypha?{{end}}
</p>
<p>{{block "delete tip" .}}You cannot undelete a deleted hypha but the history can still be accessed.{{end}}</p>
<button type="submit" value="Confirm" class="btn" autofocus>
{{template "confirm"}}
</button>
<a href="/hypha/{{.HyphaName}}" class="btn btn_weak">
{{template "cancel"}}
</a>
</fieldset>
</form>
</main>
{{end}}