Describe the bug
When adding a preferred repository or preferred metadata standard in the "Preferences" tab of a template, the page crashes after clicking "Save Preferences"
To Reproduce
Steps to reproduce the behavior:
- Go to a template
- Navigate to the Preferences Tab
- Scroll down to Preferred Repositories
- Check "Create a list of preferred repositories."
- Add a repository
- Click "Save Preferences"
Expected behavior
It is expected to add preferred repositories and metadata standards in the preferences tab for research outputs.
Screenshots


Additional context
This is for the USDOT Template "SMART Grants Data Management Plan (DMP)" which is unpublished.