Bind to efResource instead of trying to get it from the attrs object
Implement actual error handling
Beginning to make the form components
...