From abff88018468929c36f03babf9d9e01a96939da2 Mon Sep 17 00:00:00 2001 From: Jez Caudle Date: Thu, 9 May 2024 13:58:03 +0100 Subject: [PATCH] You can't sign up or delete your account so those bits have been removed. --- app/views/devise/registrations/edit.html.erb | 4 ---- app/views/domains/index.html.erb | 2 -- app/views/layouts/application.html.erb | 2 +- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/app/views/devise/registrations/edit.html.erb b/app/views/devise/registrations/edit.html.erb index b82e336..c5e9dd3 100644 --- a/app/views/devise/registrations/edit.html.erb +++ b/app/views/devise/registrations/edit.html.erb @@ -36,8 +36,4 @@ <% end %> -

Cancel my account

- -
Unhappy? <%= button_to "Cancel my account", registration_path(resource_name), data: { confirm: "Are you sure?", turbo_confirm: "Are you sure?" }, method: :delete %>
- <%= link_to "Back", :back %> diff --git a/app/views/domains/index.html.erb b/app/views/domains/index.html.erb index 15160de..aa50cbb 100644 --- a/app/views/domains/index.html.erb +++ b/app/views/domains/index.html.erb @@ -1,5 +1,3 @@ -<% if user_signed_in? %><%= link_to current_user.email, edit_user_password_path %><% end %> -

Domains <%= link_to "Add new domain",new_domain_path %>

diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index c5f46aa..9e43edc 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -25,7 +25,7 @@