I'm converting from Mako to Kajiki and having problems with a if,then,else
arrangement on my div


if w.fullwidth:

<div class="col-md-12">

%elif w.fillrow:

<div class="col-md-8 col-sm-8 col-xs-12">

%else:

<div class="col-md-4 col-sm-4 col-xs-12">

%endif
stuff goes here
</div>

No matter what combination of py:if I try to use I get errors with the
Kajiki xml engine. It seems to be almost but not quite the same and has a
huge problem with conditional elements.

 - Craig

-- 
Craig Small             https://dropbear.xyz/     csmall at : enc.com.au
Debian GNU/Linux        https://www.debian.org/   csmall at : debian.org
Mastodon: @[email protected]             Twitter: @smallsees
GPG fingerprint:      5D2F B320 B825 D939 04D2  0519 3938 F96B DF50 FEA5

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.

Reply via email to