Skip to content

Commit

Permalink
Merge branch 'develop' into gr-DUOS-2675-study-name-validation
Browse files Browse the repository at this point in the history
  • Loading branch information
rushtong committed Oct 4, 2023
2 parents 904c026 + 5142da3 commit 8d98c34
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/data_submission/NIHDataManagement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {div, h, h2, h3} from 'react-hyperscript-helpers';
import {div, h, h2, h3, span, a} from 'react-hyperscript-helpers';
import { FormFieldTypes, FormField, FormValidators } from '../forms/forms';
import { useState } from 'react';
import { YES_NHGRI_YES_PHS_ID, YES_NHGRI_NO_PHS_ID, NO_NHGRI_YES_ANVIL } from './NihAnvilUse';
Expand Down Expand Up @@ -69,7 +69,11 @@ export const NIHDataManagement = (props) => {
type: FormFieldTypes.YESNORADIOGROUP,
id: 'alternativeDataSharingPlan',
defaultValue: formData?.alternativeDataSharingPlan,
title: 'Are you requesting an Alternative Data Sharing Plan for samples that cannot be shared through a public repository or database?',
title: span([
'Are you requesting an Alternative Data Sharing Plan ',
a({href: 'https://www.genome.gov/about-nhgri/Policies-Guidance/Data-Sharing-Policies-and-Expectations#genomic-data-sharing'}, '(info)'),
' for samples that cannot be shared through a public repository or database?'
]),
onChange: ({key, value}) => {
setShowAlternativeDataSharingPlan(value);
onChange({key, value});
Expand Down

0 comments on commit 8d98c34

Please sign in to comment.