• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Template Slot's Consistency

#1
Some of the template slots aren't ideally consistent. Not a huge deal, just noticing. Example:

thread_create
HTML:
    <xen:if is="{$attachmentParams}">
        <dl class="ctrlUnit AttachedFilesUnit">
            <dt>{xen:phrase attached_files}:</dt>
            <dd><xen:include template="attachment_editor">
                <xen:set var="$attachments" value="{$attachmentParams.attachments}" />
            </xen:include></dd>
        </dl>
      
        <!-- slot: after_attachment -->
    </xen:if>
post_edit
HTML:
    <xen:if is="{$attachmentParams}">
        <dl class="ctrlUnit AttachedFilesUnit">
            <dt>{xen:phrase attached_files}:</dt>
            <dd><xen:include template="attachment_editor" /></dd>
        </dl>
    </xen:if>
Ideally, post_edit should be
HTML:
    <xen:if is="{$attachmentParams}">
        <dl class="ctrlUnit AttachedFilesUnit">
            <dt>{xen:phrase attached_files}:</dt>
            <dd><xen:include template="attachment_editor" /></dd>
        </dl>

        <!-- slot: after_attachment -->
    </xen:if>