Correct template syntax and add with-prop class