diff --git a/Gemfile b/Gemfile index b9d6296..f7d6757 100644 --- a/Gemfile +++ b/Gemfile @@ -70,5 +70,4 @@ group :test do # Use system testing [https://guides.rubyonrails.org/testing.html#system-testing] gem "capybara" gem "selenium-webdriver" - gem "webdrivers" end diff --git a/app/views/domains/show.html.erb b/app/views/domains/show.html.erb index 697cd06..82ffa89 100644 --- a/app/views/domains/show.html.erb +++ b/app/views/domains/show.html.erb @@ -1,12 +1,12 @@
-

<%= @domain.domain %> <%#= link_to "Edit", edit_domain_path(@domain) %> <%= button_to "Delete", @domain, method: :delete %>

+

<%= @domain.domain %> <%#= link_to "Edit", edit_domain_path(@domain) %> <%= button_to "Delete", @domain, data: { turbo_method: :delete, turbo_confirm: "Are you sure?"} %>

Credentials (<%= @domain.credentials.count %>) <%= link_to "Add #{@domain.domain} email address", new_domain_credential_path(@domain) %>

@@ -15,7 +15,7 @@

Virtuals (<%= @domain.virtuals.count %>) <%= link_to "Add #{@domain.domain} virtual email", new_domain_virtual_path(@domain) %>

diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index ad8fa91..5d17ca5 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -27,9 +27,7 @@ <%= yield %>