18F/identity-dashboard

View on GitHub
app/inputs/usa_collection_select_input.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# Overriding to specify class for Identity Style Guide
class UsaCollectionSelectInput < SimpleForm::Inputs::CollectionSelectInput
  def input_html_classes
    super.push('usa-select').delete_if { |klass| klass == :usa_collection_select }
  end
end