posiczko / devise-tailwindcssed

Generate Tailwind styled views for Devise
MIT License
48 stars 47 forks source link

error messages #18

Closed rubydesign closed 1 year ago

rubydesign commented 1 year ago

Hi, really great, saved hours. Let me buy you a coffee.

I think devise moved to a error message template. Instead of the helper. Easier to customize.

And i found myself putting a flex.justify-center around all templates. But that's maybe just me, my layout yields in the body.

Still, great, thanks

didierganthier commented 1 year ago

All of my styles are being applied but not the one for the error message. How can I handle this? This is what my error message looks like 👇🏽 Screenshot 2023-02-13 at 20 23 04

scottrobertson commented 1 year ago

All of my styles are being applied but not the one for the error message. @PabloC @scottrobertson @posiczko @danieldenis01 how can I handle this? This is what my error message looks like 👇🏽

Screenshot 2023-02-13 at 20 23 04

Pleas don't tag all collaborators like this.

didierganthier commented 1 year ago

All of my styles are being applied but not the one for the error message. @PabloC @scottrobertson @posiczko @danieldenis01 how can I handle this? This is what my error message looks like 👇🏽 Screenshot 2023-02-13 at 20 23 04

Pleas don't tag all collaborators like this.

I've just been going through these for hours and it seems like a simple task to me, sorry for tagging all collaborators but any idea why my styles aren't being applied?

scottrobertson commented 1 year ago

Screenshot 2023-02-13 at 20 23 04

Pleas don't tag all collaborators like this.

I've just been going through these for hours and it seems like a simple task to me, sorry for tagging all collaborators but any idea why my styles aren't being applied?

No clue. All I've ever done here is fix a typo. This is why you shouldn't do what you did.

didierganthier commented 1 year ago

Screenshot 2023-02-13 at 20 23 04

Pleas don't tag all collaborators like this.

I've just been going through these for hours and it seems like a simple task to me, sorry for tagging all collaborators but any idea why my styles aren't being applied?

No clue. All I've ever done here is fix a typo. This is why you shouldn't do what you did.

Oh my bad, I didn't know. That makes no difference but I removed the tags, my sincere apologies. 🙂

rubydesign commented 1 year ago

@didierganthier you have to change the devise error template ./app/views/devise/shared/_error_messages.html.haml (or erb if you use erb) You can see in the devise docs how to install the templates.

I shall close this as it is all noise now