Skip to content

Commit

Permalink
Merge branch 'master' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
Eimi Okuno committed Apr 20, 2020
2 parents 7a951d9 + 097c24c commit af99fa9
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/TranscriptForm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,22 @@ const TranscriptForm = ({ ...props }) => {
return (
<>
<Form noValidate validated={ isValidated } onSubmit={ e => handleSubmit(e) }>
<Form.Group controlId="formTranscriptMediaFile">
<Form.Control
required
type="file"
label="Upload"
accept="audio/*,video/*"
onChange={ e => handleFileUpload(e) }
/>
<Form.Text className="text-muted">
Select an audio or video file to upload
</Form.Text>
<Form.Control.Feedback>Looks good!</Form.Control.Feedback>
<Form.Control.Feedback type="invalid">
Please choose a audio or video file to upload
</Form.Control.Feedback>
</Form.Group>
<Form.Group controlId="formTranscriptTitle">
<Form.Label>Title</Form.Label>
<Form.Control
Expand Down Expand Up @@ -87,22 +103,6 @@ const TranscriptForm = ({ ...props }) => {
Please choose a description for your transcript
</Form.Control.Feedback>
</Form.Group>
<Form.Group controlId="formTranscriptMediaFile">
<Form.Control
required
type="file"
label="Upload"
accept="audio/*,video/*"
onChange={ e => handleFileUpload(e) }
/>
<Form.Text className="text-muted">
Select an audio or video file to upload
</Form.Text>
<Form.Control.Feedback>Looks good!</Form.Control.Feedback>
<Form.Control.Feedback type="invalid">
Please choose a audio or video file to upload
</Form.Control.Feedback>
</Form.Group>
<Modal.Footer>
<Button variant="primary" type="submit">
Save
Expand Down

0 comments on commit af99fa9

Please sign in to comment.