Commit 6787ae03 authored by Matthew Taylor's avatar Matthew Taylor

Apply classes to row, not textarea

And move help rendering into the phone input row.
parent d8e07ee7
......@@ -53,9 +53,9 @@ var PhoneInput = React.createClass({
label={null}
disabled={this.isFormDisabled() || this.props.disabled}
/>
{this.renderHelp()}
{this.renderErrorMessage()}
</div>
{this.renderHelp()}
</Row>
);
}
......
......@@ -11,13 +11,13 @@ var TextArea = React.createClass({
type: 'TextArea',
render: function () {
var classes = classNames(
'textarea',
'textarea-row',
this.props.className
);
return (
<FRCTextarea {... this.props}
className={classes}
rowClassName="textarea-row" />
className="textarea"
rowClassName={classes} />
);
}
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment