about summary refs log tree commit diff
path: root/app/views/auth/confirmations/new.html.haml
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-03 16:38:22 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-03 16:51:00 +0200
commitfc198a8b4ca6d22eaedee2cfb03e088432dc4b30 (patch)
treecc57ecb76638deb4b9cafd80e0c14911e4f419c6 /app/views/auth/confirmations/new.html.haml
parentb3c7c8700d7ddf73d6fef4076f15ae7c3d39ce67 (diff)
Adding e-mail confirmations
Diffstat (limited to 'app/views/auth/confirmations/new.html.haml')
-rw-r--r--app/views/auth/confirmations/new.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/auth/confirmations/new.html.haml b/app/views/auth/confirmations/new.html.haml
new file mode 100644
index 000000000..5c1cf5734
--- /dev/null
+++ b/app/views/auth/confirmations/new.html.haml
@@ -0,0 +1,9 @@
+= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f|
+  = devise_error_messages!
+
+  .field
+    = f.email_field :email, autofocus: true, required: true, placeholder: 'E-mail address'
+  .actions
+    = f.button "Resend confirmation instructions", type: 'submit'
+
+.form-footer= render "auth/shared/links"