Pass haschildren parament to template