{"action":"created","issue":{"url":"https://api.github.com/repos/Fullscreen/bh/issues/134","labels_url":"https://api.github.com/repos/Fullscreen/bh/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/Fullscreen/bh/issues/134/comments","events_url":"https://api.github.com/repos/Fullscreen/bh/issues/134/events","html_url":"https://github.com/Fullscreen/bh/issues/134","id":81079409,"number":134,"title":"Errors highlighting","user":{"login":"ahmed-isam","id":7933802,"avatar_url":"https://avatars.githubusercontent.com/u/7933802?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmed-isam","html_url":"https://github.com/ahmed-isam","followers_url":"https://api.github.com/users/ahmed-isam/followers","following_url":"https://api.github.com/users/ahmed-isam/following{/other_user}","gists_url":"https://api.github.com/users/ahmed-isam/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmed-isam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmed-isam/subscriptions","organizations_url":"https://api.github.com/users/ahmed-isam/orgs","repos_url":"https://api.github.com/users/ahmed-isam/repos","events_url":"https://api.github.com/users/ahmed-isam/events{/privacy}","received_events_url":"https://api.github.com/users/ahmed-isam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-26T18:26:21Z","updated_at":"2015-05-26T18:34:55Z","closed_at":null,"body":"I am having an issue with errors highlighting, I've tried to do extend to field with errors in the CSS but didn't work. I hope someone's got a solution for that.\r\n"},"comment":{"url":"https://api.github.com/repos/Fullscreen/bh/issues/comments/105627691","html_url":"https://github.com/Fullscreen/bh/issues/134#issuecomment-105627691","issue_url":"https://api.github.com/repos/Fullscreen/bh/issues/134","id":105627691,"user":{"login":"ahmed-isam","id":7933802,"avatar_url":"https://avatars.githubusercontent.com/u/7933802?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmed-isam","html_url":"https://github.com/ahmed-isam","followers_url":"https://api.github.com/users/ahmed-isam/followers","following_url":"https://api.github.com/users/ahmed-isam/following{/other_user}","gists_url":"https://api.github.com/users/ahmed-isam/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmed-isam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmed-isam/subscriptions","organizations_url":"https://api.github.com/users/ahmed-isam/orgs","repos_url":"https://api.github.com/users/ahmed-isam/repos","events_url":"https://api.github.com/users/ahmed-isam/events{/privacy}","received_events_url":"https://api.github.com/users/ahmed-isam/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T18:34:55Z","updated_at":"2015-05-26T18:34:55Z","body":"This is the code\r\n\r\n\t\t\t<%= form_for :legal_entity, layout: :horizontal, :url => {:action => \"create\"} do |f| %>\r\n\t\t\t\t<%= f.text_field :entity_name, label: \"Entity Name\" %>\r\n\t\t\t\t<%= f.text_field :address %>\r\n\t\t\t\t<%= f.text_field :cc_emails, label: \"CC Emails\", placeholder: \"Comma Seperated Email Addresses\" %>\r\n\t\t\t\t<%= f.text_field :accounting_contact_name, label: \"Accounting Contact Name\" %>\r\n\t\t\t\t<%= f.text_field :accounting_contact_phone, label: \"Accounting Contact Phone\" %>\r\n\t\t\t\t<%= f.text_field :compliance_contact_name, label: \"Compliance Contact Name\" %>\r\n\t\t\t\t<%= f.text_field :compliance_contact_phone, label: \"Compliance Contact Phone\" %>\r\n\t\t\t\t<%= f.check_box :verified %>\r\n\t\t\t\t<div class=\"form-group\">\r\n\t\t\t\t\t<div class=\"col-sm-offset-3 col-sm-9\"> <!-- Matches the helprs output markup, check the docs -->\r\n\t\t\t\t\t\t<input class=\"btn btn-success\" name=\"commit\" type=\"submit\" value=\"Create\"/>\r\n\t\t\t\t\t\t<%= link_to(\"Cancel\", {:action => \"index\"}, :class => \"btn btn-danger\") %>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t<% end %>\r\n\r\nI just want it to show the input field and the label in red, and to display the error below the filed, just like the documentation. I am using validate_presence_of helper in the model and showing errors using the object.error.full_messages"}}