1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-12 05:20:26 +00:00
mycorrhiza/hypview/view_delete.html

23 lines
904 B
HTML
Raw Normal View History

2022-06-16 11:05:30 +00:00
{{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>
2022-06-16 11:19:42 +00:00
<a href="/hypha/{{.HyphaName}}" class="btn btn_weak">
2022-06-16 11:05:30 +00:00
{{template "cancel"}}
</a>
</fieldset>
</form>
</main>
{{end}}