Skip to content

Commit

Permalink
Rapid -- use <span> not <div> to wrap field-with-errors (<div> is inv…
Browse files Browse the repository at this point in the history
…alid)
  • Loading branch information
tslocke committed Jul 4, 2008
1 parent c1bd750 commit 17187bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hobo/taglibs/rapid_forms.dryml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
raise HoboError, ("No input tag for #{this_field}:#{this_type} (this=#{this.inspect})")
end
if this_parent.errors[this_field]
"<div class='field-with-errors'>#{the_input}</div>"
"<span class='field-with-errors'>#{the_input}</span>"
else
the_input
end
Expand Down

0 comments on commit 17187bd

Please sign in to comment.