Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only fields with errors are highlighted instead of highlighting all the fields when there is an error. #1

Merged
merged 1 commit into from
Nov 29, 2013

Conversation

QuintinAdam
Copy link
Collaborator

Just changed the .present? to a .include? with the name of the field so if the message has an error it will only highlight the fields that have an error.

Sorry its such a small fix. Thats only only thing I can see that is a problem right now.

screen shot 2013-11-29 at 10 40 15 am

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 9ce356e on QuintinAdam:master into ee16c4b on beneggett:master.

beneggett added a commit that referenced this pull request Nov 29, 2013
Only fields with errors are highlighted instead of highlighting all the fields when there is an error.
@beneggett beneggett merged commit 9e3ac4e into beneggett:master Nov 29, 2013
@beneggett
Copy link
Owner

Nice Catch, Thanks Quintin!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants