factor(forms): dry up form errors handling
Merge pull request #200 from 9ci/refactor-forms

factor(forms): dry up form errors handling