- if @child.errors.full_messages.any? .errors %h1 Uh oh! - @child.errors.full_messages.each do |error| %p= error = form_for @child, as: :child, url: add_child_path do |f| = f.label :first_name = f.text_field :first_name = f.label :last_name = f.text_field :last_name = f.submit