Closed spiotr12 closed 7 years ago
It is possible to write a template that checks the value and renders different templates, but I guess it's not as convenient as it could be.
The way I finally solve it was to create a template helper which was rendering different text <- so similarly to way you suggest
This might be more as dev request:
It would be great to pass current collection object to the tmpl function for fields
Reason: use different templates depend on value. Is this would be possible.
this
does not access the collection objectE.g.: