How can I make f.error_messages work here, or should I use flashes?
If so, what should override in the sessions_controller?
<h2>Create an account</h2>
<% form_for resource_name, resource, :url => registration_path(resource_name) do |f| %>
<%= f.error_messages %>
<p>
<%= f.label :email %><br />
<%= f.text_field :email, :class => :big %>
</p>
<p>
<%= f.label :password %><br />
<%= f.password_field :password, :class => :big %>
</p>
<p>
<%= f.label :password_confirmation %><br />
<%= f.password_field :password_confirmation, :class => :big %>
</p>
<p><%= f.submit "Create", :class => :submit %></p>
<% end %>
PS. f.error_messages for Creating an account works totally fine.
Sign in
` and `` on sign in page? – mzrnsh Jul 21 '16 at 21:02