20 Commits

Author SHA1 Message Date
mike cullerton
f3f341a593 Be explicit about labels.
Otherwise, WTForms changes the underscores to spaces and removes the all caps.
2021-08-26 15:05:26 -04:00
mike cullerton
c7a0196a38 Remove HSRNUMBER from form and form processing 2021-08-16 10:08:37 -04:00
mike cullerton
25e789fe91 Merge REVIEW_TYPE and REVIEWTYPENAME fields in StudyDetailsForm into one form field containing both the type and the type name.
This makes it easier for the configurator and for processing in the backend.
2021-07-12 17:09:09 -04:00
mike cullerton
d71360f49a Merge branch 'dev' into post-submission-states-247
# Conflicts:
#	pb/pb_mock.py

Conflicts were import statements
2021-06-23 11:16:09 -04:00
mike cullerton
f2040461d0 Modify IRBInfoForm to use the new IRBEVENT and IRB_STATUS relationships.
Have to define the form explicitly now, instead of automagically from the model.
2021-06-18 14:43:59 -04:00
mike cullerton
e1abdd33d1 Form and model changes for the new column 2021-05-26 16:51:41 -04:00
mike cullerton
ec0fca0afe Missing change 2021-05-26 10:45:46 -04:00
mike cullerton
ad11cf8bec Back out form changes 2021-05-26 10:44:18 -04:00
mike cullerton
87e26c03d9 Trying to get QuerySelectMultipleField to work correctly using query_factory.
Having trouble seeding the form with previous choices
2021-05-20 11:00:05 -04:00
Dan
8ca8c9ad85 Fixing an icon. 2021-05-14 17:36:22 -04:00
mike cullerton
40f45202df Ticket 275 - adding new API endpoint for IRB Study Info
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
2021-04-08 17:35:24 -04:00
mike cullerton
762c29f951 The Q_COMPLETE form field on the new/edit study page is changing from boolean to option select.
Import new IRBStatus model
Change Q_COMPLETE form field to SelectField
2021-04-01 12:40:59 -04:00
mike cullerton
c260e6a465 Added new fields for study_details
Changed some field types

Removed 2 unused documents from required documents list
Changed the name of required documents from Required to Documents
2021-03-30 10:56:23 -04:00
mike cullerton
eb4ca6fda4 Sorted the fields in the study_details form to match real Protocol Builder 2021-03-25 13:07:42 -04:00
Aaron Louie
0e4cd7d130 Adds/edits sponsors for a given study. 2020-08-13 15:19:55 -04:00
Aaron Louie
be441a7c53 WIP: Adds sponsor model, mock sponsors list, and form for adding sponsors to a study. 2020-08-12 19:15:16 -04:00
Aaron Louie
07444f8c36 Moves delete column to right side 2020-06-30 14:58:29 -04:00
Aaron Louie
d5a933d951 Fixes #23 - Displays confirmation screen before deleting a study or investigator 2020-06-30 14:48:11 -04:00
Aaron Louie
2d2fad73dd Fixes WTForms deprecation warnings 2020-06-16 15:50:46 -04:00
Aaron Louie
a633cc7c09 Reorganizes files for consistency between repos. Completely refactors Dockerfile to install from wheel. 2020-05-24 18:30:57 -04:00