<li class="dd-item dd3-item" data-id="<?php echo $entry->getActiveWebsiteEntry()->id; ?>">
    <input type="hidden" name="entry_id[]" value="<?php echo $entry->id; ?>" />
    <div class="dd-handle dd3-handle">Drag</div>
    <div class="dd3-content panel panel-default">
        <div class="panel-heading">
            <div class="title"><?php echo $entry->clean_title ? $entry->clean_title : $entry->title; ?> &nbsp;</div> 
        </div>
    </div>
    <?php if(isset($entry->children) && !empty($entry->children)): ?>
        <ol>
        <?php foreach($entry->children as $child): ?>
            <?php echo $__env->make('admin.generic.pages.order_entry', array('entry' => $child), array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
        <?php endforeach; ?>
        </ol>
    <?php endif; ?>
</li>