Commit 0ea823cb authored by Bryce Johnson's avatar Bryce Johnson

Set default_label attribute on weight issue filter.

parent 1b9ca381
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
- if params[:weight] - if params[:weight]
= hidden_field_tag(:weight, params[:weight]) = hidden_field_tag(:weight, params[:weight])
= dropdown_tag("Weight", options: { title: "Filter by weight", toggle_class: 'js-weight-select js-filter-submit', dropdown_class: "dropdown-menu-selectable", = dropdown_tag("Weight", options: { title: "Filter by weight", toggle_class: 'js-weight-select js-filter-submit', dropdown_class: "dropdown-menu-selectable",
placeholder: "Search weight", data: { field_name: "weight" } }) do placeholder: "Search weight", data: { field_name: "weight" , default_label: "Weight" } }) do
%ul %ul
- Issue.weight_options.each do |weight| - Issue.weight_options.each do |weight|
%li %li
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment