Bikal
Bikal

Reputation: 33

modifying devise default error messages in rails app

I am using devise gem in my rails app and this is my screenshot https://i.sstatic.net/wBlvl.png. How do I remove those default red colored errors? Thanks in advance,

Upvotes: 0

Views: 25

Answers (1)

Ronan Lopes
Ronan Lopes

Reputation: 3398

You can do rails generate devise:views so you can override the devise views on your views/devise folder. In that case, I believe it's the sessions/new view. I think it's the better way to do that!

Upvotes: 1

Related Questions