I will keep this brief. I am trying to add a <div> around the form in the thread_delete template if the content template is thread_delete. This is what I added to the thread_delete template and it doesn't work:
The <div> is nowhere to be seen. Any reasons why?
Rich (BB code):
<xen:if is="{$contentTemplate} == 'thread_delete'"><div></xen:if>
<form action="{xen:link 'threads/delete', $thread}" method="post" class="xenForm formOverlay">
<xen:include template="helper_deletion_type_unit" />
<dl class="ctrlUnit submitUnit">
<dt></dt>
<dd><input type="submit" value="{xen:phrase delete_thread}" class="button primary" /></dd>
</dl>
<input type="hidden" name="_xfConfirm" value="1" />
<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>
<xen:if is="{$contentTemplate} == 'thread_delete'"></div></xen:if>
The <div> is nowhere to be seen. Any reasons why?