There should be spaces before and after the ">" and the non if part should go on the next line