diff options
author | Jacob Schatz <jschatz1@gmail.com> | 2017-06-11 12:38:10 -0400 |
---|---|---|
committer | Jacob Schatz <jschatz1@gmail.com> | 2017-06-11 12:38:10 -0400 |
commit | 0c4c5cddbcecf60a2d9048921473f3f637aa4e63 (patch) | |
tree | a6962f1305d8660a3dc2d816c83f1fd29b556410 | |
parent | 1e3bb74d4d4fe036ff54f3039b454b0f3a0de8ec (diff) | |
download | gitlab-ce-0c4c5cddbcecf60a2d9048921473f3f637aa4e63.tar.gz |
Changes default text to "Unassigned"unassign-default-dropdown-state
By changing this text the css will check for `toggle_text == default_label`. In this case they were not the same.
Now they are and it will show the default label in gray.
-rw-r--r-- | app/helpers/form_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/form_helper.rb b/app/helpers/form_helper.rb index 53962b84618..014fc46b130 100644 --- a/app/helpers/form_helper.rb +++ b/app/helpers/form_helper.rb @@ -29,7 +29,7 @@ module FormHelper current_user: true, project_id: issuable.project.try(:id), field_name: "#{issuable.class.model_name.param_key}[assignee_ids][]", - default_label: 'Assignee', + default_label: 'Unassigned', 'max-select': 1, 'dropdown-header': 'Assignee', multi_select: true, |