Skip to content

Commit

Permalink
[blank-consent-form] consent form can now be empty.
Browse files Browse the repository at this point in the history
  • Loading branch information
biblicabeebli committed Oct 26, 2023
1 parent bfb0eb6 commit 3166084
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions database/migrations/0107_alter_devicesettings_consent_form_text.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.20 on 2023-10-25 15:39

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('database', '0106_researcher_most_recent_page'),
]

operations = [
migrations.AlterField(
model_name='devicesettings',
name='consent_form_text',
field=models.TextField(blank=True, default='I have read and understood the information about the study and all of my questions about the study have been answered by the study researchers.'),
),
]
2 changes: 1 addition & 1 deletion database/study_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def export(self) -> Dict[str, Any]:
# Text strings
about_page_text = models.TextField(default=ABOUT_PAGE_TEXT)
call_clinician_button_text = models.TextField(default='Call My Clinician')
consent_form_text = models.TextField(default=CONSENT_FORM_TEXT)
consent_form_text = models.TextField(default=CONSENT_FORM_TEXT, blank=True, null=False)
survey_submit_success_toast_text = models.TextField(default=SURVEY_SUBMIT_SUCCESS_TOAST_TEXT)

# Consent sections
Expand Down

0 comments on commit 3166084

Please sign in to comment.