fixed edit form throwing an error when a field is a relation
Merge pull request #2 from ncadou/relation-field-fix

Fixed edit form throwing an error when a field is a relation