Moved {{#if }} to outside of the div. Spliced tags