mirror of
https://github.com/knadh/listmonk.git
synced 2024-12-27 09:22:23 +08:00
Add classes to public forms to make them scriptable.
This commit is contained in:
parent
b1fa28980e
commit
f4f51d11c5
2 changed files with 4 additions and 4 deletions
|
@ -6,7 +6,7 @@
|
|||
{{ L.T "public.confirmSubInfo" }}
|
||||
</p>
|
||||
|
||||
<form method="post">
|
||||
<form method="post" class="optin-form">
|
||||
<ul>
|
||||
{{ range $i, $l := .Data.Lists }}
|
||||
<input type="hidden" name="l" value="{{ $l.UUID }}" />
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<section class="section">
|
||||
{{ if not .Data.ShowManage }}
|
||||
<h2>{{ L.T "public.unsubTitle" }}</h2>
|
||||
<form method="post">
|
||||
<form method="post" class="unsub-form">
|
||||
<div>
|
||||
{{ if .Data.AllowBlocklist }}
|
||||
<p>{{ L.T "public.unsubHelp" }}</p>
|
||||
|
@ -23,7 +23,7 @@
|
|||
</div>
|
||||
</form>
|
||||
{{ else }}
|
||||
<form method="post">
|
||||
<form method="post" class="manage-form">
|
||||
<div>
|
||||
<input type="hidden" name="manage" value="true" />
|
||||
|
||||
|
@ -62,7 +62,7 @@
|
|||
</section>
|
||||
|
||||
{{ if or .Data.AllowExport .Data.AllowWipe }}
|
||||
<form id="data-form" method="post" action="" onsubmit="return handleData()">
|
||||
<form id="data-form" class="data-form" method="post" action="" onsubmit="return handleData()">
|
||||
<section>
|
||||
<h2>{{ L.T "public.privacyTitle" }}</h2>
|
||||
{{ if .Data.AllowExport }}
|
||||
|
|
Loading…
Reference in a new issue