Hi,

Back in the good old days it was possible to put something like this into 
the template and have the included templates in view/music/...

{% if type=="spot" %}
        bbbbbbbb
        {% include "music/edit.html.spot" %}
{% elif type=="control" %}
        bbbbbbbb
        {% include "music/edit.html.control" %}
{% else %}
        cccccccc
        {% include "music/edit.html.default" %}
{% endif %}

After the mongodb connection issue was fixed last day I have upgraded CB 
and noticed that this no longer works. Specifically, it always includes (in 
this case) the edit.html.spot even if not the 1st branch runs (so I will 
see bbb or cccccc in the generated page.
Is there a way to restore the old behavior?


Thank you!

Best,
Peter

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/chicagoboss/84c28755-8764-436e-8cf7-9dc9e455301e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to