Add condition option to view helper