diff options
author | kushalpandya <kushal@gitlab.com> | 2017-05-09 15:43:05 +0530 |
---|---|---|
committer | kushalpandya <kushal@gitlab.com> | 2017-05-09 15:43:23 +0530 |
commit | 04fb78a57b56e0d1ca7f1fe5caddb84817820899 (patch) | |
tree | 1c19288b7ed1a271204a4d8e62671d0cd0dbfef9 | |
parent | f7975661ef27fb7e0d3a30f3e3500773abc69324 (diff) | |
download | gitlab-ce-31031-protected-objects.tar.gz |
[ci skip]Add missing `capitalize-header` to dropdown container31031-protected-objects
-rw-r--r-- | app/views/shared/protected_refs/_access_level_dropdown.html.haml | 2 | ||||
-rw-r--r-- | app/views/shared/protected_refs/_update_protected_ref.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/protected_refs/_access_level_dropdown.html.haml b/app/views/shared/protected_refs/_access_level_dropdown.html.haml index d8e009b2a7c..5fff005b59b 100644 --- a/app/views/shared/protected_refs/_access_level_dropdown.html.haml +++ b/app/views/shared/protected_refs/_access_level_dropdown.html.haml @@ -5,5 +5,5 @@ %div{ class: access_level_container_class } = dropdown_tag('Select', options: { toggle_class: "#{access_level_toggle_class} wide", - dropdown_class: 'dropdown-menu-selectable', + dropdown_class: 'dropdown-menu-selectable capitalize-header', data: { field_name: access_level_field_name, input_id: access_level_input_id }}) diff --git a/app/views/shared/protected_refs/_update_protected_ref.haml b/app/views/shared/protected_refs/_update_protected_ref.haml index 82a9274b256..3e4af4e75d1 100644 --- a/app/views/shared/protected_refs/_update_protected_ref.haml +++ b/app/views/shared/protected_refs/_update_protected_ref.haml @@ -1,5 +1,5 @@ %td = hidden_field_tag protected_ref_field_name, protected_ref_first_access_level.access_level = dropdown_tag( (protected_ref_first_access_level.humanize || 'Select') , - options: { toggle_class: protected_ref_toggle_class, dropdown_class: "dropdown-menu-selectable #{protected_ref_container_class}", + options: { toggle_class: protected_ref_toggle_class, dropdown_class: "dropdown-menu-selectable capitalize-header #{protected_ref_container_class}", data: { field_name: protected_ref_field_name, access_level_id: protected_ref_first_access_level.id }}) |