autofill elements for resource edit form