Adjusted to changed attribute in Doctpye view helper.