diff --git a/js/component/form.js b/js/component/form.js index 8bc9ecc78..70cb3beb0 100644 --- a/js/component/form.js +++ b/js/component/form.js @@ -62,13 +62,15 @@ var FormField = React.createClass({ delete otherProps.hidden; return ( -
- - {this.props.children} - - {this.state.adviceText} -
+ !this.props.hidden + ?
+ + {this.props.children} + + {this.state.adviceText} +
+ : null ); } });