Fix name error in form template controller