NonEmpty template element works