Hi list<br><br>I have 2 templates, in second template I need render a &lt;span&gt; only when the first template have defined a variable. <br><br>template1:<br>&lt;ul tal:define=&quot;var1 python:1&quot;&gt;<br>   &lt;li tal:replace=&quot;structure conext/template2&quot;&gt;&lt;/li&gt;<br>
   &lt;li tal:replace=&quot;structure python:conext.template2(var2=1)&quot;&gt;&lt;/li&gt;<br>&lt;/ul&gt;<br clear="all"><br>template2:<br>&lt;li&gt;<br>   &lt;input id=&quot;x&quot; name=&quot;x&quot; value=&quot;somevalue&quot;&gt;<br>
   &lt;span tal:condition=&quot;exists: var1&quot;&gt;span2&lt;/span&gt;<br>   &lt;span tal:condition=&quot;exists: attr/var1&quot;&gt;span2&lt;/span&gt;<br>   &lt;span tal:condition=&quot;exists: context/var1&quot;&gt;span2&lt;/span&gt;<br>

   &lt;span tal:condition=&quot;exists: container/var1&quot;&gt;span2&lt;/span&gt;<br>

   &lt;span tal:condition=&quot;exists: options/var2&quot;&gt;span3&lt;/span&gt;<br>
&lt;/li&gt;<br><br>any condition in span not work :( <br><br>-- <br>________________________________________<br>Lo bueno de vivir un dia mas<br>es saber que nos queda un dia menos de vida<br>