mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-23 01:18:00 +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
|