I know we are able to use ternary for attr but I am wondering if we can do it with plain text?
let's say I have something like this
button.btn.btn-round.btn-info
|
if image
| Change Image
else
| Add Image
the button will have the text either Change Image or Add image if image
variable exists
Is this possible to use ternary? Thanks in advance for any help and suggestions
= image
I must have though those answers are forattributes
instead :( Really thanks for the answer – Bagnio