film-exif/src/views/Film/FilmAddView.js

51 lines
956 B
JavaScript
Raw Normal View History

2018-04-03 14:13:16 -04:00
import { Component } from 'inferno';
import {
2018-04-03 15:19:45 -04:00
Button,
Col,
2018-04-03 14:13:16 -04:00
Form,
2018-04-03 15:19:45 -04:00
FormGroup,
Input,
Label,
Row,
2018-04-03 14:13:16 -04:00
} from '../../components/Bootstrap'
export class FilmAddView extends Component {
2018-04-03 15:19:45 -04:00
constructor (props) {
super (props);
2018-04-03 14:13:16 -04:00
2018-04-03 15:19:45 -04:00
this.state = {
};
}
render () {
return (
<Form>
<Row>
<Col md={12}>
<FormGroup>
<Label tag="label" for="brand">Brand</Label>
<Input type="text" id="brand" name="brand" />
</FormGroup>
<FormGroup>
<Label for="filmFormat">Film Format</Label>
<select className="custom-select" id="filmFormat" name="filmFormat">
<option value="110">110</option>
<option value="120">120</option>
<option value="127">127</option>
<option value="135">135</option>
</select>
</FormGroup>
</Col>
</Row>
<Row>
<Col md={12}>
<Button color="primary" type="submit">Save</Button>
</Col>
</Row>
</Form>
)
}
2018-04-03 14:13:16 -04:00
}