models.py
- Added new IRBInfo model
- Added relationship to Study table
forms.py
- Added form to edit the data
- Added column in Study table for link to edit new info
__init__.py
- Added route for new form page
- Added method to update the db
Also adding API endpoint to check the IRB status
Added check_study method for API endpoint
Added 'No Error' as default for new Q_COMPLETE select form field
Added code to seed the current status to the form
Added code to process the status information from the form and enter into irb_status table
Created a new route /user_studies in __init__.py that takes a uva_id.
Pulled out some dupllcate code into a new method; render_study_template
In index.html, added a pulldown to select the user. I pull the list of users from the studies so we only show users that have studies.
Added a script to process the selection.