Display errors for table-embedeed forms

This commit is contained in:
2024-03-15 02:40:17 +01:00
parent 2c0466b51a
commit f298acd726
12 changed files with 28 additions and 14 deletions

View File

@@ -9,7 +9,7 @@
</div>
<% end %>
<%= tabular_form_for resource, url: registration_path(resource), html: {method: :patch} do |f| %>
<%= labelled_form_for resource, url: registration_path(resource), html: {method: :patch} do |f| %>
<%= f.email_field :email, size: 30, autofocus: true, autocomplete: "off" %>
<% if f.object.pending_reconfirmation? %>
<%= f.text_field :unconfirmed_email, readonly: true, tabindex: -1,