Closed Sprachprofi closed 10 years ago
Can you undo the changes in Readme? Also I don't understand why in _form.html.erb you moved L#2? Lastly if the template requires a change can you include it in all the supported formats?
Undone.
In _form.html.erb I did not move L#2, I inserted the error messages above the form elements. L2 is a loop over the form elements and obviously we don't want the error message to appear looped.
Note that my changes are for the active branch, Bootstrap 2.3.2, not the Bootstrap3. Afaik this branch does not support other formats; if I missed any files, let me know.
Awesome thanks. I will give this a test later today since Travis is complaining about rest-client in the gemfile and reporting errors.
In the default branch of this gem, applying bootstrap:themed to scaffold-generated forms will remove the validation error messages functionality (see issue #747). This is a dangerous default behavior because users may not know that this has been removed, nor what they should do in order to regain the functionality.
I restored the functionality and also applied Bootstrap-compliant styling to the validation error message (see screenshot) in order to improve the default behavior of this gem for those who don't install SimpleForms.