Consider putting this in a partial, since it's used in two places (and I think you got the title text wrong in the other one)