Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form onSubmit={this.props.handleSubmit}>
- <Row>
- <Col>
- <FormGroup>
- <label htmlFor="name">Name</label>
- <Field name="name" component={Utils.forms.renderField} type="text" className="form-control" validate={[ Utils.validations.required ]} />
- </FormGroup>
- </Col>
- </Row>
- <Row>
- <Col xs="6">
- <FormGroup>
- <label htmlFor="domain">Domain</label>
- <Field name="domain" component={Utils.forms.renderField} type="text" className="form-control" />
- </FormGroup>
- </Col>
- <Col xs="6">
- <FormGroup>
- <label htmlFor="path">path</label>
- <Field name="path" component={Utils.forms.renderField} type="text"/>
- </FormGroup>
- </Col>
- </Row>
- <FormGroup>
- <label htmlFor="active">Active</label>
- <Field name="active" component="input" type="checkbox"/>
- </FormGroup>
- <FormGroup>
- <label htmlFor="allow_streaming">allow_streaming</label>
- <Field name="allow_streaming" component="input" type="checkbox"/>
- </FormGroup>
- <FormGroup>
- <label htmlFor="always_check_subscriber">always_check_subscriber</label>
- <Field name="always_check_subscriber" component="input" type="checkbox"/>
- </FormGroup>
- <FormGroup>
- <label htmlFor="analytics">analytics</label>
- <Field name="analytics" component={Utils.forms.renderField} type="text" />
- </FormGroup>
- <FormGroup>
- <label htmlFor="id_design">design</label>
- <Field name="id_design" component={Utils.forms.renderDropdownList} data={colors} valueField="value" textField="data" validate={[ Utils.validations.required ]} filter="contains" />
- </FormGroup>
- <button type="submit">Submit</button>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement