about summary refs log tree commit diff
path: root/app/views/auth/confirmations/captcha.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/auth/confirmations/captcha.html.haml')
-rw-r--r--app/views/auth/confirmations/captcha.html.haml14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/auth/confirmations/captcha.html.haml b/app/views/auth/confirmations/captcha.html.haml
new file mode 100644
index 000000000..642f19062
--- /dev/null
+++ b/app/views/auth/confirmations/captcha.html.haml
@@ -0,0 +1,14 @@
+- content_for :page_title do
+  = t('auth.captcha_confirmation.title')
+
+= form_tag auth_captcha_confirmation_url, method: 'POST', class: 'simple_form' do
+  = hidden_field_tag :confirmation_token, params[:confirmation_token]
+
+  .field-group
+    %p.hint= t('auth.captcha_confirmation.hint_html')
+
+  .field-group
+    = render_captcha
+
+  .actions
+    %button.button= t('challenge.confirm')