@hectorsq wrote:
I am using the
{{ partial }}
helper to select a template according to a field in my model.By design, if the partial does not exist, nothing is shown.
How can I use a default template when the specified template does not exist?
Posts: 6
Participants: 4