Skip to content
This repository has been archived by the owner on Oct 22, 2020. It is now read-only.

Commit

Permalink
Merge pull request #514 from elifesciences/cosubmission-label
Browse files Browse the repository at this point in the history
Update co-submission input labelling and author step title
  • Loading branch information
hdrury1 authored Aug 21, 2018
2 parents 8dd19ff + 98ebd23 commit 335939e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/components/pages/SubmissionWizard/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const SubmissionPage = ({ match, history }) => (
initialValues={initialValues}
nextUrl={`${match.path}/upload`}
step={0}
title="Who is the corresponding author?"
title="Your details"
validationSchema={authorDetailsSchema}
/>
)}
Expand Down
10 changes: 5 additions & 5 deletions app/components/pages/SubmissionWizard/steps/Submission/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const ManuscriptMetadata = ({ values, setFieldValue, setFieldTouched }) => (
onOpen={() => setFieldValue('previouslySubmitted', [''])}
open={values.previouslySubmitted.length}
>
<ValidatedField label="Article title" name="previouslySubmitted.0" />
<ValidatedField label="Previous article title" name="previouslySubmitted.0" />
</OptionalSection>

<OptionalSection
Expand All @@ -75,7 +75,7 @@ const ManuscriptMetadata = ({ values, setFieldValue, setFieldTouched }) => (
>
<Box mb={2}>
<ValidatedField
label="Second article title"
label="Title of co-submitted article"
name="firstCosubmissionTitle"
/>
</Box>
Expand All @@ -89,15 +89,15 @@ const ManuscriptMetadata = ({ values, setFieldValue, setFieldTouched }) => (
onClick={() => setFieldValue('secondCosubmissionTitle', '', false)}
type="button"
>
include
add
</Action>{' '}
another cosubmission
another co-submission
</Box>
) : (
// the second title is not null so show it
<Box mb={2}>
<ValidatedField
label="Third article title (optional)"
label="Title of co-submitted article (optional)"
name="secondCosubmissionTitle"
/>
</Box>
Expand Down

0 comments on commit 335939e

Please sign in to comment.