mirror of
https://github.com/knadh/listmonk.git
synced 2024-11-15 03:55:06 +08:00
30 lines
No EOL
860 B
HTML
30 lines
No EOL
860 B
HTML
{{ define "optin" }}
|
|
{{ template "header" .}}
|
|
<section>
|
|
<h2>{{ L.T "public.confirmSubTitle" }}</h2>
|
|
<p>
|
|
{{ L.T "public.confirmSubInfo" }}
|
|
</p>
|
|
|
|
<form method="post" class="optin-form">
|
|
<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" />
|
|
<button type="submit" class="button" id="btn-unsub">
|
|
{{ L.Ts "public.confirmSub" }}
|
|
</button>
|
|
</p>
|
|
</form>
|
|
</section>
|
|
|
|
{{ template "footer" .}}
|
|
{{ end }} |