2019-12-01 20:18:36 +08:00
|
|
|
{{ define "optin" }}
|
|
|
|
{{ template "header" .}}
|
|
|
|
<section>
|
2021-01-23 22:04:30 +08:00
|
|
|
<h2>{{ L.T "public.confirmSubTitle" }}</h2>
|
2019-12-01 20:18:36 +08:00
|
|
|
<p>
|
2021-01-23 22:04:30 +08:00
|
|
|
{{ L.T "public.confirmSubInfo" }}
|
2019-12-01 20:18:36 +08:00
|
|
|
</p>
|
|
|
|
|
2023-08-07 12:18:08 +08:00
|
|
|
<form method="post" class="optin-form">
|
2019-12-01 20:18:36 +08:00
|
|
|
<ul>
|
|
|
|
{{ range $i, $l := .Data.Lists }}
|
|
|
|
<input type="hidden" name="l" value="{{ $l.UUID }}" />
|
2021-01-23 22:04:30 +08:00
|
|
|
{{ if eq $l.Type "public" }}
|
2019-12-01 20:18:36 +08:00
|
|
|
<li>{{ $l.Name }}</li>
|
|
|
|
{{ else }}
|
2021-01-23 22:04:30 +08:00
|
|
|
<li>{{ L.Ts "public.subPrivateList" }}</li>
|
2019-12-01 20:18:36 +08:00
|
|
|
{{ 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">
|
2021-01-23 22:04:30 +08:00
|
|
|
{{ L.Ts "public.confirmSub" }}
|
2020-12-19 18:55:52 +08:00
|
|
|
</button>
|
2019-12-01 20:18:36 +08:00
|
|
|
</p>
|
|
|
|
</form>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
{{ template "footer" .}}
|
|
|
|
{{ end }}
|