Looking good. Webauthn integration time!!

This commit is contained in:
2024-05-22 09:54:22 +01:00
parent 0edc7d0563
commit ba3392fb47
11 changed files with 75 additions and 92 deletions

View File

@@ -1,4 +1,4 @@
<%= form_with(model: domain) do |form| %>
<%= form_with(model: domain, html: { class: "work-area" }) do |form| %>
<% if domain.errors.any? %>
<div style="color: red">
<h2><%= pluralize(domain.errors.count, "error") %> prohibited this domain from being saved:</h2>

View File

@@ -1,9 +1,9 @@
<h1>New domain</h1>
<h2>New domain</h2>
<%= render "form", domain: @domain %>
<br>
<div>
<%= link_to "Back to domains", domains_path %>
</div>
<%= link_to "Back to domains", domains_path %>