listmonk/static/public/templates/optin.html

30 lines
844 B
HTML
Raw Normal View History

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