Hi, i have this in a my form for registration user
<% fields_for “user[location_attributes]”, @user.location do
<%= location_form.text_field :full_address %>
<% end %>
the location is required.
and so if i submit the form without insert the location the instruction:
<%= error_messages_for :user %>
print: location required.
but in the field there isn’t the div
how i can connect the error of the location with the field: