mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-12-12 21:40:26 +00:00
22 lines
942 B
HTML
22 lines
942 B
HTML
|
{{define "remove media from x?"}}Remove media from {{beautifulName .}}?{{end}}
|
|||
|
{{define "title"}}{{template "remove media from x?" .HyphaName}}{{end}}
|
|||
|
{{define "body"}}
|
|||
|
<main class="main-width">
|
|||
|
<form class="modal" action="/remove-media/{{.HyphaName}}" method="post">
|
|||
|
<fieldset class="modal__fieldset">
|
|||
|
<legend class="modal__title">
|
|||
|
{{block "remove media from [[x]]?" .}}Remove media from <a href="/hypha/{{.HyphaName}}">{{beautifulName .HyphaName}}</a>?{{end}}
|
|||
|
</legend>
|
|||
|
<p class="modal__confirmation-msg">
|
|||
|
{{block "remove media for real?" .}}Do you really want to remove media from hypha ‘{{beautifulName .HyphaName}}’?{{end}}
|
|||
|
</p>
|
|||
|
<button type="submit" value="Confirm" class="btn" autofocus>
|
|||
|
{{template "confirm"}}
|
|||
|
</button>
|
|||
|
<a href="/hypha/{%s hyphaName %}" class="btn btn_weak">
|
|||
|
{{template "cancel"}}
|
|||
|
</a>
|
|||
|
</fieldset>
|
|||
|
</form>
|
|||
|
</main>
|
|||
|
{{end}}
|