Commit cc8a7400 authored by nickstiffler's avatar nickstiffler Committed by Yannis Barlas
Browse files

feat(submission form): clarify references text

parent c8ed4322
......@@ -211,11 +211,11 @@ const InitialSubmission = props => {
<Info>
References
<p>
Please enter one reference per field in the following format:
&#34;Frokjaer-Jensen, C., Davis, M.W., Hopkins, C.E., Newman, B.J.,
Thummel, J.M., Olesen, S.P., Grunnet, M., and Jorgensen, E.M.
(2008). Single-copy insertion of transgenes in Caenorhabditis
elegans. Nat Genet 40, 1375-1383.&#34;
Please enter one reference per field in alphabetical order in the
following format: &#34;Frokjaer-Jensen, C., Davis, M.W., Hopkins,
C.E., Newman, B.J., Thummel, J.M., Olesen, S.P., Grunnet, M., and
Jorgensen, E.M. (2008). Single-copy insertion of transgenes in
Caenorhabditis elegans. Nat Genet 40, 1375-1383.&#34;
</p>
<Error>{referenceError()}</Error>
</Info>
......@@ -234,7 +234,7 @@ const InitialSubmission = props => {
error={get(props.errors, 'references')}
italic
name={`references[${i}].reference`}
placeholder="Reference text"
placeholder="Reference text (only enter one per text box)"
required
subscript
superscript
......@@ -273,7 +273,7 @@ const InitialSubmission = props => {
})}
{!props.readOnly && (
<Button onClick={handleAddReference} primary>
Add reference
Add another reference
</Button>
)}
</ReferenceWrapper>
......
......@@ -183,7 +183,7 @@ const defaultFormValues = {
methods: '<p></p>',
patternDescription: '<p></p>',
reagents: '<p></p>',
references: [],
references: [{ reference: '<p></p>', pubmedId: '', doi: '' }],
suggestedReviewer: {
name: '',
WBId: '',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment