Remove view logic from helper so can be configured easier on template layer