Re: [Rails] Re: Re: Adding bootstrap styling to ruby on rails form_for

2015-09-01 Thread John Lahr
If that is the case it would sound like there's something going in in your style sheets cascading to this view specifically, and the problem won't be found in the controller, it'll be found in your assets/stylesheets, layout/application.html.erb or this specific view itself. There's probably some

[Rails] Re: Re: Adding bootstrap styling to ruby on rails form_for

2015-09-01 Thread Abdulaleem Seyed
John Lahr wrote in post #1178443: > PS - does the form work even if the styling doesn't? Can you submit > emails? Yes. The form works completely. The styling is the problem in this form only. The same buttons are working in other places with no problem. -- Posted via http://www.ruby-forum.com/

Re: [Rails] Re: Re: Adding bootstrap styling to ruby on rails form_for

2015-09-01 Thread John Lahr
If you are cutting and pasting exactly from your view to your HTML it seems kind of odd. The 'form group' is showing up not where you put it before the form, but before the input field. The Submit button still says submit, not update as you indicate in your view. Also - your missing the f.label f

[Rails] Re: Re: Adding bootstrap styling to ruby on rails form_for

2015-09-01 Thread Abdulaleem Seyed
John Lahr wrote in post #1178409: > How have you integrated bootstrap into your application? gem 'bootstrap-sass', '~> 3.3.5' In my custom stylesheet.css.scss @import "bootstrap-sprockets"; @import "bootstrap"; Bootstrap is working all through my site, except with this form problem. -- Posted