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

@@ -4,7 +4,7 @@
</div>
<% end %>
<%= tabular_form_for @user do |f| %>
<%= labelled_form_for @user do |f| %>
<%= f.email_field :email, readonly: true %>
<% if f.object.pending_reconfirmation? %>
<%= f.email_field :unconfirmed_email, readonly: true,