Feature(settings): update language settings copy
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
import React, { PropTypes } from 'react';
|
import React, { PropTypes } from 'react';
|
||||||
import { createSelector } from 'reselect';
|
import { createSelector } from 'reselect';
|
||||||
import { reduxForm } from 'redux-form';
|
import { reduxForm } from 'redux-form';
|
||||||
import { FormControl } from 'react-bootstrap';
|
import { FormControl, FormGroup } from 'react-bootstrap';
|
||||||
|
|
||||||
import { updateMyLang } from '../redux/actions';
|
import { updateMyLang } from '../redux/actions';
|
||||||
import { userSelector } from '../../../redux/selectors';
|
import { userSelector } from '../../../redux/selectors';
|
||||||
@ -83,14 +83,17 @@ export class LangaugeSettings extends React.Component {
|
|||||||
fields: { lang }
|
fields: { lang }
|
||||||
} = this.props;
|
} = this.props;
|
||||||
return (
|
return (
|
||||||
|
<FormGroup>
|
||||||
<FormControl
|
<FormControl
|
||||||
className='btn btn-block btn-primary btn-link-social'
|
className='btn btn-block btn-primary btn-link-social btn-lg'
|
||||||
componentClass='select'
|
componentClass='select'
|
||||||
{ ...lang }
|
{ ...lang }
|
||||||
onChange={ this.handleChange }
|
onChange={ this.handleChange }
|
||||||
|
style={{ height: '45px' }}
|
||||||
>
|
>
|
||||||
{ options }
|
{ options }
|
||||||
</FormControl>
|
</FormControl>
|
||||||
|
</FormGroup>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -245,7 +245,7 @@ export class Settings extends React.Component {
|
|||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
<div className='spacer' />
|
<div className='spacer' />
|
||||||
<h2 className='text-center'>Language Settings</h2>
|
<h2 className='text-center'>Display challenges in:</h2>
|
||||||
<Row>
|
<Row>
|
||||||
<Col
|
<Col
|
||||||
md={ 6 }
|
md={ 6 }
|
||||||
|
Reference in New Issue
Block a user