listmonk/static/public/templates/optin.html

30 lines
844 B
HTML

{{ define "optin" }}
{{ template "header" .}}
<section>
<h2>{{ .L.T "public.confirmSubTitle" }}</h2>
<p>
{{ .L.T "public.confirmSubInfo" }}
</p>
<form method="post">
<ul>
{{ range $i, $l := .Data.Lists }}
<input type="hidden" name="l" value="{{ $l.UUID }}" />
{{ if eq $.L.Type "public" }}
<li>{{ $l.Name }}</li>
{{ else }}
<li>{{ .L.T "public.subPrivateList" }}</li>
{{ end }}
{{ end }}
</ul>
<p>
<input type="hidden" name="confirm" value="true" />
<button type="submit" class="button" id="btn-unsub">
{{ .L.T "public.confirmSub" }}
</button>
</p>
</form>
</section>
{{ template "footer" .}}
{{ end }}