Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

horizontal forms? #32

Open
ir-fuel opened this issue Feb 2, 2016 · 1 comment
Open

horizontal forms? #32

ir-fuel opened this issue Feb 2, 2016 · 1 comment

Comments

@ir-fuel
Copy link

ir-fuel commented Feb 2, 2016

It seems not possible to have the label of the input field in front of the field?

@haikezegwaard
Copy link

haikezegwaard commented Jul 8, 2016

Try to use: <Form className="form-horizontal">
and then in your ValidatedInput components, set the bootstrap column sizes:
e.g.
<ValidatedInput type='text' label={gettext('First name')} labelClassName='col-sm-4' wrapperClassName='col-sm-12' name='first_name' defaultValue={this.props.first_name} validate='required' errorHelp={{ required: gettext('Please enter your first name') }} />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants