mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-28 13:57:59 +01:00
9 lines
358 B
Text
9 lines
358 B
Text
<%= if is_nil(@conn.assigns.current_user) do %>
|
|
<% challenge = challenge_name(@name) %>
|
|
<div class="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 />
|
|
</div>
|
|
<% end %>
|