I'm using bootstrap CCS to style my Rails 4 app, but cannot figure out how to add a class to the form when using the form_for helper. I have followed the suggestions on several other threads without success. Two such threads...
- How do you override the class name in the form_for helper?
- adding (not overwriting a class) for a form generated by the form_for helper
The app works as it should per the instructions, but I want it to look good too. Here is the working code and have commented out the first line as it does not add the additional class to the form as I need it to.
- https://github.com/Brian-Boyd/TheIronYard/blob/master/03week-day4/patient/app/views/patients/_form.html.haml
Can anyone help with this challenge? Hopefully there is some smart Rails developers available to help out today.