Update the ProjectForm class to use inline validation rules for presence.