I have a problem with simple form it doesn’t highlight field where error is raised.
class Search < ActiveRecord::Base validates_presence_of :brand
<%= f.input :brand_id, collection: Brand.all.order(:name), prompt: 'Select brand' %>
I want brand field be hihlighted the same way keywords field is.
I’ve checked if validates_presence_of brand raise the error and it dose, but doesn’t highlight the field.