Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
feat(patients): move date of birth information up a line
Browse files Browse the repository at this point in the history
  • Loading branch information
jackcmeyer committed Dec 18, 2019
1 parent c8eba48 commit bf45cce
Showing 1 changed file with 25 additions and 24 deletions.
49 changes: 25 additions & 24 deletions src/patients/new/NewPatientForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,30 +166,6 @@ const NewPatientForm = (props: Props) => {
/>
</div>
</div>
<div className="row">
<div className="col-md-6">
<TextInputWithLabelFormGroup
label={t('patient.occupation')}
name="occupation"
value={patient.occupation}
isEditable={isEditable}
onChange={(event: React.ChangeEvent<HTMLInputElement>) => {
onInputElementChange(event, 'occupation')
}}
/>
</div>
<div className="col-md-6">
<TextInputWithLabelFormGroup
label={t('patient.preferredLanguage')}
name="preferredLanguage"
value={patient.preferredLanguage}
isEditable={isEditable}
onChange={(event: React.ChangeEvent<HTMLInputElement>) => {
onInputElementChange(event, 'preferredLanguage')
}}
/>
</div>
</div>
<div className="row">
<div className="col-md-4">
<DatePickerWithLabelFormGroup
Expand Down Expand Up @@ -226,6 +202,31 @@ const NewPatientForm = (props: Props) => {
</div>
)}
</div>
<div className="row">
<div className="col-md-6">
<TextInputWithLabelFormGroup
label={t('patient.occupation')}
name="occupation"
value={patient.occupation}
isEditable={isEditable}
onChange={(event: React.ChangeEvent<HTMLInputElement>) => {
onInputElementChange(event, 'occupation')
}}
/>
</div>
<div className="col-md-6">
<TextInputWithLabelFormGroup
label={t('patient.preferredLanguage')}
name="preferredLanguage"
value={patient.preferredLanguage}
isEditable={isEditable}
onChange={(event: React.ChangeEvent<HTMLInputElement>) => {
onInputElementChange(event, 'preferredLanguage')
}}
/>
</div>
</div>

<h3>{t('patient.contactInformation')}</h3>
<div className="row">
<div className="col">
Expand Down

0 comments on commit bf45cce

Please sign in to comment.