Advertisement
Guest User

Untitled

a guest
Feb 28th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. <form onSubmit={this.props.handleSubmit}>
  2.  
  3. <Row>
  4. <Col>
  5. <FormGroup>
  6. <label htmlFor="name">Name</label>
  7. <Field name="name" component={Utils.forms.renderField} type="text" className="form-control" validate={[ Utils.validations.required ]} />
  8. </FormGroup>
  9. </Col>
  10. </Row>
  11.  
  12. <Row>
  13. <Col xs="6">
  14. <FormGroup>
  15. <label htmlFor="domain">Domain</label>
  16. <Field name="domain" component={Utils.forms.renderField} type="text" className="form-control" />
  17. </FormGroup>
  18. </Col>
  19.  
  20. <Col xs="6">
  21. <FormGroup>
  22. <label htmlFor="path">path</label>
  23. <Field name="path" component={Utils.forms.renderField} type="text"/>
  24. </FormGroup>
  25. </Col>
  26. </Row>
  27.  
  28.  
  29. <FormGroup>
  30. <label htmlFor="active">Active</label>
  31. <Field name="active" component="input" type="checkbox"/>
  32. </FormGroup>
  33.  
  34. <FormGroup>
  35. <label htmlFor="allow_streaming">allow_streaming</label>
  36. <Field name="allow_streaming" component="input" type="checkbox"/>
  37. </FormGroup>
  38.  
  39. <FormGroup>
  40. <label htmlFor="always_check_subscriber">always_check_subscriber</label>
  41. <Field name="always_check_subscriber" component="input" type="checkbox"/>
  42. </FormGroup>
  43.  
  44. <FormGroup>
  45. <label htmlFor="analytics">analytics</label>
  46. <Field name="analytics" component={Utils.forms.renderField} type="text" />
  47. </FormGroup>
  48.  
  49. <FormGroup>
  50. <label htmlFor="id_design">design</label>
  51. <Field name="id_design" component={Utils.forms.renderDropdownList} data={colors} valueField="value" textField="data" validate={[ Utils.validations.required ]} filter="contains" />
  52. </FormGroup>
  53.  
  54. <button type="submit">Submit</button>
  55. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement