mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +01:00
9 lines
299 B
Text
9 lines
299 B
Text
|
= if is_nil(@conn.assigns.current_user) do
|
||
|
- challenge = challenge_name(@name)
|
||
|
|
||
|
.field.js-captcha-box
|
||
|
br
|
||
|
=> checkbox :captcha, challenge, class: "js-captcha", value: 0, autocomplete: "off", data: [sitekey: hcaptcha_site_key()]
|
||
|
= label :captcha, challenge, "I am not a robot!"
|
||
|
br
|