Template as an input

Hi,

new feature Template Engine is awesome ๐Ÿ™‚

{% if $user1.vip == true %}
  Hey, {{ $user1.name }}! Thanks for being a part of our VIP program.
{% else %}
  Hey, {{ $user1.name }}! Thanks for reading.
{% endif %}

in this exemple, if the template is totally different for VIP, this template will be very complex if I have lot of scenarii...

It could be very useful to store templates in database, use them in right moment and then "engine" them.

in "Template Editor", just add binding from variable (as all other variables)

1 reply