I’m using devise for user auth, but I have nice mockups for the signup, login, etc. pages.
I’ve already done the rails generate devise:views User command and have all of the views in the views folder, however, when I replaced the registration/new.html.erb with my own new.html.erb, nothing changes nor looks different. It’s as if I had done anything.
Anyone know what I’m doing wrong or at least how to successfully customize devise views
P.S. Is it important to note that I changed the route of devise/registration#new to /signup?
Your route
signupordevise/registrations#newwill render the viewviews/devise/registrations/new.html.erb. It sounds like you madechanges to
views/user/registrations/new.html.erb, which would explainwhy you dont see the changes made since its not being rendered.
You will either need to create a
user/registrations_controller.rbthatextends from
Devise::RegistrationsControllerand point your/signuproute to
user/registrations#new, or you can just make your changesdirectly to
views/devise/registrations/new.html.erbSame idea applies to your login (
devise/sessions) pages.Hope this helps.