Formelement improvements

Remove duplicate code, easy way to add new elements to this view helper