rastrillo / abono Public

Clone
git clone https://amadan.net/rastrillo/abono

Plain git — no account needed to clone.

Download

Download this file

1{{/* abono/owner-end: GET /admin/members/comps/{id}/end, the confirm page
2 for ending a free membership. Its form posts to the same address;
3 the way back keeps it.
4
5 Data:
6 Title string, the page title's message key
7 Member abono.Member, the comp
8 Label string, what to call the member
9 Plan string, the plan's name
10 Action string, where the form posts
11 MembersURL string, the members page
12 L the request's localizer */}}
13{{define "content"}}{{$L := localizer $}}
14{{template "back-nav" dict "Href" .MembersURL "Label" (T $L "abono.owner.members_title")}}
15{{template "page-header" dict "L" $L "Title" (T $L .Title)}}
16<p>{{Tf $L "abono.owner.end_body" "plan" .Plan "member" .Label}}</p>
17{{template "confirm-form" dict "L" $L "Action" .Action "Label" (T $L "abono.button.end_free_confirm") "Danger" true "CancelHref" .MembersURL "CancelLabel" (T $L "abono.button.keep_free")}}
18{{end}}
19