Signup I - form_for


#1



https://www.codecademy.com/en/courses/rails-auth/lessons/authentication/exercises/authentication-signup-i?action=resume


in the form_for it won't let me advance with the following. Does anyone see what I'm doing incorrectly
<%= form_for(@user) do |f| %>


<%= f.label :first_name %>
<%= f.text_field :first_name %>


<%= f.label :last_name %>
<%= f.text_field :last_name %>


<%= f.label :email %>
<%= f.email_field :email %>


<%= f.label :password_digest %>
<%= f.password_field :password_digest %>


<%= f.submit "Create" %>

<% end %>

Thanks!
Annika


#2

Here's the answer I found and that worked for me but an error message would be awesome.


#3

Hi @annikak,

Do you get passed if you remove your labels?


Edit: Oops - for some reason, the post showing the solution wasn't displaying for me when I made my post - you can disregard this.


#4

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.