From fc198a8b4ca6d22eaedee2cfb03e088432dc4b30 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 3 Oct 2016 16:38:22 +0200 Subject: Adding e-mail confirmations --- app/views/auth/confirmations/new.html.haml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 app/views/auth/confirmations/new.html.haml (limited to 'app/views/auth/confirmations') 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" -- cgit