forked from fixin.me/fixin.me
Display errors for table-embedeed forms
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div class="main">
|
||||
<%= tabular_form_for resource, url: user_registration_path do |f| %>
|
||||
<%= labelled_form_for resource, url: user_registration_path do |f| %>
|
||||
<%= f.email_field :email, required: true, size: 30, autofocus: true, autocomplete: "email" %>
|
||||
<%= f.password_field :password, required: true, size: 30,
|
||||
minlength: @minimum_password_length, autocomplete: "new-password",
|
||||
|
||||
Reference in New Issue
Block a user