Fix class sorting bug and move datetime picker down
This commit is contained in:
@@ -25,6 +25,16 @@ function InstructorClassEditor(props) {
|
||||
|
||||
return (
|
||||
<div className='class-editor'>
|
||||
<Form.Input
|
||||
label='Cost ($)'
|
||||
{...makeProps('cost')}
|
||||
/>
|
||||
|
||||
<Form.Input
|
||||
label='Max Students — Blank for Unlimited'
|
||||
{...makeProps('max_students')}
|
||||
/>
|
||||
|
||||
<Form.Field>
|
||||
<label>Time and Date</label>
|
||||
<Datetime
|
||||
@@ -39,16 +49,6 @@ function InstructorClassEditor(props) {
|
||||
}
|
||||
</Form.Field>
|
||||
|
||||
<Form.Input
|
||||
label='Cost ($)'
|
||||
{...makeProps('cost')}
|
||||
/>
|
||||
|
||||
<Form.Input
|
||||
label='Max Students — Blank for Unlimited'
|
||||
{...makeProps('max_students')}
|
||||
/>
|
||||
|
||||
{editing && <Form.Field>
|
||||
<label>Is the class cancelled?</label>
|
||||
<Checkbox
|
||||
|
||||
Reference in New Issue
Block a user