Something not right here with Kate.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<%= form_with(model: credential) do |form| %>
|
||||
<%= form_with(model: [@domain, credential]) do |form| %>
|
||||
<% if credential.errors.any? %>
|
||||
<div style="color: red">
|
||||
<h2><%= pluralize(credential.errors.count, "error") %> prohibited this credential from being saved:</h2>
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
<br>
|
||||
|
||||
<div>
|
||||
<%= link_to "Back to credentials", credentials_path %>
|
||||
<%= link_to "Back to the domain", domain_path(@domain) %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user