Add noscript notice to opt-out page
This commit is contained in:
parent
7229206d09
commit
b3ef973568
1 changed files with 3 additions and 0 deletions
|
|
@ -16,6 +16,9 @@ block body
|
||||||
|
|
||||||
- let value = !select("opt_out", "user_id", {user_id: session.data.userID}).pluck().get()
|
- let value = !select("opt_out", "user_id", {user_id: session.data.userID}).pluck().get()
|
||||||
|
|
||||||
|
noscript
|
||||||
|
.s-notice.s-notice__danger.mb16 You must enable JavaScript to use this form. Please do that now!
|
||||||
|
|
||||||
#opt-in-msg(hx-swap-oob="true")
|
#opt-in-msg(hx-swap-oob="true")
|
||||||
if msg
|
if msg
|
||||||
.s-notice.s-notice__info.mb16= msg
|
.s-notice.s-notice__info.mb16= msg
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue