Signup I - form_for

I don’t why this just won’t pass. Help me plz

<%= form_for(@user) do |f|%>
  <div class="form">
    <%= f.text_field :first_name %>
    <%= f.text_field :last_name %>
    <%= f.text_field :email %>
    <%= f.text_field :password_digest %>
  </div>
  <div class="btn-submit">
     <%= f.submit "signup" %>
  </div>
<%end%>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/zh/courses/rails-auth/lessons/authentication/exercises/authentication-signup-i
<In what way does your code behave incorrectly? Include ALL error messages.>

Hi @desire_fox,

You need to use an email_field and a password_field for the last two form inputs :slight_smile:

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