app/helpers/blacklight_helper.rb
def html_tag_attributes
    attr = super
    attr[:dir] = 'rtl' if I18n.locale == :ar

    attr
  end
# Override Blacklight's html_tag_attributes helper
# to set the correct HTML dir attribute for Arabic
Override Blacklight's html_tag_attributes helper
to set the correct HTML dir attribute for Arabic
Override Blacklight ' s html_tag_attributes helper to set the correct HTML dir attribute for Arabic
def html_tag_attributes
    attr = super
    attr[:dir] = 'rtl' if I18n.locale == :ar
    attr
  end
def html_tag_attributes attr = super attr [ :dir ] = 'rtl' if I18n . locale == :ar attr end
Override Blacklight's html_tag_attributes helper
to set the correct HTML dir attribute for Arabic
Override Blacklight ' s html_tag_attributes helper to set the correct HTML dir attribute for Arabic