No idea why I was recreating functionality already present in the Form helper!