2021-01-31 11:49:39 +01:00
|
|
|
{{ define "subscription-form" }}
|
|
|
|
{{ template "header" .}}
|
|
|
|
<section>
|
|
|
|
<h2>{{ L.T "public.subTitle" }}</h2>
|
|
|
|
|
|
|
|
<form method="post" action="" class="form">
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
<label>{{ L.T "subscribers.email" }}</label>
|
2021-04-17 10:04:37 +02:00
|
|
|
<input name="email" required="true" type="email" placeholder="{{ L.T "subscribers.email" }}" autofocus="true" >
|
2021-04-21 10:31:32 +02:00
|
|
|
|
|
|
|
<input name="nonce" class="nonce" value="" />
|
2021-01-31 11:49:39 +01:00
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<label>{{ L.T "public.subName" }}</label>
|
|
|
|
<input name="name" type="text" placeholder="{{ L.T "public.subName" }}" >
|
|
|
|
</p>
|
|
|
|
<div class="lists">
|
|
|
|
<h2>{{ L.T "globals.terms.lists" }}</h2>
|
|
|
|
{{ range $i, $l := .Data.Lists }}
|
|
|
|
<div class="row">
|
|
|
|
<div class="one column">
|
|
|
|
<input checked="true" id="l-{{ $l.UUID}}" type="checkbox" name="l" value="{{ $l.UUID }}" >
|
|
|
|
</div>
|
|
|
|
<div class="eleven columns">
|
|
|
|
<label for="l-{{ $l.UUID}}">{{ $l.Name }}</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
<p>
|
|
|
|
<button type="submit" class="button">{{ L.T "public.sub" }}</button>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
{{ template "footer" .}}
|
|
|
|
{{ end }}
|