@edudepetris I think that this must be a partial instead a helper.

Helpers are used to avoid long conditions in view templates not to build formularies chunks. Partials are used to build formularies chunks