summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/shared/protected_refs/_access_level_dropdown.html.haml2
-rw-r--r--app/views/shared/protected_refs/_update_protected_ref.haml2
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 }})