My current idea is:
- User navigates to Locality -> Occurrences tab
- User clicks the "Create new occurrence" button
- User is navigated to "occurrence/new" (in a new window)
- User creates a new occurrence normally, the locality field is automatically filled and cannot be changed
- After saving the new occurrence, the Locality -> Occurrences tab is updated automatically with the new Occurrence, and the editData of the Locality is updated to include the new Occurrence/Species (is this possible to do?)
This doesn't work if the user is trying to create an occurrence to a new locality, since the locality field cannot be automatically filled in that case, since the locality does not exist yet.
My current idea is:
This doesn't work if the user is trying to create an occurrence to a new locality, since the locality field cannot be automatically filled in that case, since the locality does not exist yet.