diff options
author | Rusty Geldmacher <rgeldmacher@sermo.com> | 2012-07-10 12:14:06 -0400 |
---|---|---|
committer | Rusty Geldmacher <rgeldmacher@sermo.com> | 2012-07-10 12:14:06 -0400 |
commit | 27c8debdc6b242c845a279187205a2b057e18469 (patch) | |
tree | 731581a94a3c8eb449c6ed59b5c67683bfb29217 /railties/guides/source/security.textile | |
parent | 45d78a3dd1a1b199d4d3a953d3cef01de47432f6 (diff) | |
download | rails-27c8debdc6b242c845a279187205a2b057e18469.tar.gz rails-27c8debdc6b242c845a279187205a2b057e18469.tar.bz2 rails-27c8debdc6b242c845a279187205a2b057e18469.zip |
Fixed bug creating invalid HTML in select options
When a select tag is created for a field with errors, and that select
tag has :prompt or :include_blank options, then the inserted first
option will errantly have a <div class="field_with_errors"> wrapping
it.
See https://github.com/rails/rails/issues/7017
Diffstat (limited to 'railties/guides/source/security.textile')
0 files changed, 0 insertions, 0 deletions