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

How to show to text fields with labels in same row.. #198

Closed
daBayrus opened this issue Feb 5, 2015 · 2 comments
Closed

How to show to text fields with labels in same row.. #198

daBayrus opened this issue Feb 5, 2015 · 2 comments

Comments

@daBayrus
Copy link

daBayrus commented Feb 5, 2015

hi, great gem.. i'm able to output the desired form as shown in the image, except for the ones with two text fields in same row/line (Provider ID and Group ID, and State and Zip).. the form is form-horizontal and I tried layout: :inline for the said fields but did not work..

image

@datWav
Copy link

datWav commented Apr 24, 2015

You can do something like:

.row
  .col-md-6
    = f.text_field :provider_site_id
  .col-md-6
    = f.text_field :group_id

@mattbrictson
Copy link
Contributor

Cleaning up old unanswered issues. If this question is still relevant, please reopen.

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

3 participants