lundi 30 décembre 2019

how to add different CSS style class internary operator output in ROR

hi i want to add different CSS style on these two output how can i do that in ruby on rails?

<%= manager_remark.decision ? 'Approved' : 'Rejected' %>

Aucun commentaire:

Enregistrer un commentaire