Add playlist views
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import React from 'react'
|
||||
import {
|
||||
Create,
|
||||
SimpleForm,
|
||||
TextInput,
|
||||
BooleanInput,
|
||||
required,
|
||||
} from 'react-admin'
|
||||
|
||||
const PlaylistCreate = (props) => (
|
||||
<Create {...props}>
|
||||
<SimpleForm>
|
||||
<TextInput source="name" validate={required()} />
|
||||
<TextInput multiline source="comment" />
|
||||
<BooleanInput source="public" initialValue={true} />
|
||||
</SimpleForm>
|
||||
</Create>
|
||||
)
|
||||
|
||||
export default PlaylistCreate
|
||||
Reference in New Issue
Block a user