oficina / fichas Public

Clone
git clone https://amadan.net/oficina/fichas

Plain git — no account needed to clone.

Download

Download this file

1{{define "content"}}
2{{$c := .Card}}
3<header fichas-appbar>
4 <h1 fichas-appbar-title>Delete this {{lower $c.TypeLabel}}?</h1>
5</header>
6
7{{template "callout" (dict
8 "Tone" "warning"
9 "Title" $c.Title
10 "Body" "The card stops appearing and stops being offered to memoria. Its change log stays, because who deleted it is the question an audit log most needs to answer.")}}
11
12{{template "confirm-form" (dict
13 "Action" (printf "/cards/%d/delete" $c.Card.ID)
14 "Label" (printf "Delete this %s" (lower $c.TypeLabel))
15 "Danger" true
16 "CancelHref" (printf "/cards/%d" $c.Card.ID)
17 "CancelLabel" "Keep it")}}
18{{end}}
19