d3f24a2221
All inputs of type `search` will have the gray background and search icon centered. Because the search magnifier is a bg image, I had to hide it with `[value=""]`. I added a little javascript to make sure each input always has it's own value.
9 lines
618 B
Text
9 lines
618 B
Text
= form_tag(path, method: :get, id: "issue_search_form", class: 'pull-left issue-search-form') do
|
|
.append-right-10.hidden-xs.hidden-sm
|
|
= search_field_tag :issue_search, params[:issue_search], { placeholder: 'Filter', class: 'form-control issue_search search-text-input', spellcheck: false }
|
|
= hidden_field_tag :state, params['state']
|
|
= hidden_field_tag :scope, params['scope']
|
|
= hidden_field_tag :assignee_id, params['assignee_id']
|
|
= hidden_field_tag :author_id, params['author_id']
|
|
= hidden_field_tag :milestone_id, params['milestone_id']
|
|
= hidden_field_tag :label_id, params['label_id']
|