codeforamerica/ohana-web-search

View on GitHub
app/views/component/search/_agency.html.haml

Summary

Maintainability
Test Coverage
= field_set_tag nil, id: 'org-name-options', class: 'input-search-filter' do
  = label_tag 'org_name', t('labels.agency_search')
  = content_tag :div, '', class: 'filter-input-group clearable' do
    = button_tag(type: 'submit', name: nil, class: 'button-icon', title: 'Update search results') do
      = content_tag :i, '', class: 'fa fa-institution'
    = search_field_tag :org_name, params[:org_name], placeholder: t('placeholders.agency_search'), tabindex: 3