refactoring form row helpers