Fixing error markup in signup flow

This commit is contained in:
Asaad Mahmood
2015-07-29 19:38:44 +05:00
parent b0105bc1ed
commit bcc068e719

View File

@@ -620,8 +620,8 @@ PasswordPage = React.createClass({
client.track('signup', 'signup_team_07_password');
var password_error = this.state.password_error ? <label className="control-label">{ this.state.password_error }</label> : null;
var server_error = this.state.server_error ? <label className="control-label">{ this.state.server_error }</label> : null;
var password_error = this.state.password_error ? <div className="form-group has-error"><label className="control-label">{ this.state.password_error }</label></div> : null;
var server_error = this.state.server_error ? <div className="form-group has-error"><label className="control-label">{ this.state.server_error }</label></div> : null;
return (
<div>