listmonk/static/public/templates/optin.html

30 lines
841 B
HTML
Raw Normal View History

{{ 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.Ts "public.subPrivateList" }}</li>
{{ end }}
{{ end }}
</ul>
<p>
<input type="hidden" name="confirm" value="true" />
2020-12-19 18:55:52 +08:00
<button type="submit" class="button" id="btn-unsub">
{{ L.Ts "public.confirmSub" }}
2020-12-19 18:55:52 +08:00
</button>
</p>
</form>
</section>
{{ template "footer" .}}
{{ end }}