Renders presence validation as required attribute.

This detects the presence validators on the form
object and renders them as required=true attributes
on the form elements.