More CSS simplification

Edit domain names, updates credentials and virtuals
Model domain tests for length and valid characters
This commit is contained in:
2024-05-20 12:41:45 +01:00
parent 781b2bb9f0
commit dcd4efdd4e
7 changed files with 50 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
<div class="domain">
<div class="domain-header">
<h2><%= @domain.domain %> <%#= link_to "Edit", edit_domain_path(@domain) %> <%= link_to "Delete", @domain, data: { turbo_method: :delete, turbo_confirm: "Are you sure?"} %></h2>
<h2><%= @domain.domain %> <%= link_to "Edit", edit_domain_path(@domain) %> <%= link_to "Delete", @domain, data: { turbo_method: :delete, turbo_confirm: "Are you sure?"} %></h2>
</div>
<div class="email-list">
<h3>Credentials (<%= @domain.credentials.count %>) <%= link_to "Add #{@domain.domain} email address", new_domain_credential_path(@domain) %></h3>