Skip to content

Commit

Permalink
Video consent text (#314)
Browse files Browse the repository at this point in the history
* Add option to set the consent text

* Add option to documentation
  • Loading branch information
okaycj committed Dec 13, 2022
1 parent e848c39 commit c1359c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/components/exp-lookit-video-consent/doc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@ prompt_only_adults [Boolean | ``false``]
[Templates 5+ only] Whether to prompt only the adult for consent for themselves to participate, rather than also referencing a child.
This is for occasional studies running an adult comparison group.

consent_statement_text [String]
Replace the default consent prompt with your custom text.

omit_injury_phrase [Boolean | ``false``]
[Templates 5+ only] Whether to omit the phrase "or in the very unlikely event of a research-related injury" from
the contact section. (This was required by the Northwestern IRB.)
Expand Down
2 changes: 1 addition & 1 deletion app/components/exp-lookit-video-consent/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
</div>

<div class="well video-consent-prompt">
<span class="breaklines exp-lookit-video-consent-prompt">"{{#if prompt_only_adults}}{{ t "exp-lookit-video-consent.prompt-adult-only" }}{{else}}{{ t "exp-lookit-video-consent.prompt" }}{{/if}}"</span>
<span class="breaklines exp-lookit-video-consent-prompt">"{{#if consent_statement_text}}{{consent_statement_text}}{{else if prompt_only_adults}}{{ t "exp-lookit-video-consent.prompt-adult-only"}}{{else}}{{t "exp-lookit-video-consent.prompt"}}{{/if}}"</span>
</div>

{{#if prompt_all_adults}}
Expand Down

0 comments on commit c1359c2

Please sign in to comment.