Trying to get the either on the template