From 2231a652276804005f9cce6af99a1401ca658bd9 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Wed, 5 Aug 2015 16:05:42 +0300 Subject: [PATCH] OpenFest: Remove unnecessary devise views --- .../mailer/confirmation_instructions.text.erb | 5 ----- .../mailer/reset_password_instructions.text.erb | 8 -------- .../users/mailer/unlock_instructions.text.erb | 7 ------- .../app/views/open_fest/users/unlocks/new.slim | 15 --------------- 4 files changed, 35 deletions(-) delete mode 100644 lib/open_fest/app/views/open_fest/users/mailer/confirmation_instructions.text.erb delete mode 100644 lib/open_fest/app/views/open_fest/users/mailer/reset_password_instructions.text.erb delete mode 100644 lib/open_fest/app/views/open_fest/users/mailer/unlock_instructions.text.erb delete mode 100644 lib/open_fest/app/views/open_fest/users/unlocks/new.slim diff --git a/lib/open_fest/app/views/open_fest/users/mailer/confirmation_instructions.text.erb b/lib/open_fest/app/views/open_fest/users/mailer/confirmation_instructions.text.erb deleted file mode 100644 index b80b172..0000000 --- a/lib/open_fest/app/views/open_fest/users/mailer/confirmation_instructions.text.erb +++ /dev/null @@ -1,5 +0,0 @@ -<%= t(:welcome, name: @email) %>! - -<%= t(:confirm_by_clicking) %> - -<%= confirmation_url(@resource, confirmation_token: @token) %> diff --git a/lib/open_fest/app/views/open_fest/users/mailer/reset_password_instructions.text.erb b/lib/open_fest/app/views/open_fest/users/mailer/reset_password_instructions.text.erb deleted file mode 100644 index f0089f8..0000000 --- a/lib/open_fest/app/views/open_fest/users/mailer/reset_password_instructions.text.erb +++ /dev/null @@ -1,8 +0,0 @@ -<%= t(:hello, name: @resource.email) %>! - -<%= t(:someone_requested_passreset) %> - -<%= edit_password_url(@resource, reset_password_token: @token) %> - -<%= t(:do_not_want_pass_reset1) %> -<%= t(:do_not_want_pass_reset2) %> diff --git a/lib/open_fest/app/views/open_fest/users/mailer/unlock_instructions.text.erb b/lib/open_fest/app/views/open_fest/users/mailer/unlock_instructions.text.erb deleted file mode 100644 index 4d2a69b..0000000 --- a/lib/open_fest/app/views/open_fest/users/mailer/unlock_instructions.text.erb +++ /dev/null @@ -1,7 +0,0 @@ -<%= t(:hello, name: @resource.email) %>! - -<%= t(:account_locked) %> - -<%= t(:click_to_unlock) %> - -<%= unlock_url(@resource, unlock_token: @token) %> diff --git a/lib/open_fest/app/views/open_fest/users/unlocks/new.slim b/lib/open_fest/app/views/open_fest/users/unlocks/new.slim deleted file mode 100644 index 0f91453..0000000 --- a/lib/open_fest/app/views/open_fest/users/unlocks/new.slim +++ /dev/null @@ -1,15 +0,0 @@ -- content_for(:title) { ":: #{t :resend_unlock_instructions_title}" } - -h2 =t :resend_unlock_instructions_title - -= simple_form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| - = f.error_notification - = f.full_error :unlock_token - - .form-inputs - = f.input :email, required: true, autofocus: true, hint: false - - .form-actions - = f.button :submit, t(:resend_instructions_btn) - -== render 'devise/shared/links'