mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
8 lines
299 B
Text
8 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
|