philomena/lib/philomena_web/templates/captcha/_captcha.html.slime

9 lines
299 B
Text
Raw Permalink Normal View History

2020-09-12 19:43:16 +02:00
= 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