Improved and modularized form rendering; see formhelpers