=link_tos_('ProtectedBranch|Unprotect'),[@project,protected_branch,{update_section: 'js-protected-branches-settings'}],disabled: local_assigns[:disabled],data: {confirm: s_('ProtectedBranch|Branch will be writable for developers. Are you sure?')},method: :delete,class: "btn gl-button btn-warning"
=link_tos_('ProtectedBranch|Unprotect'),[@project,protected_branch,{update_section: 'js-protected-branches-settings'}],disabled: local_assigns[:disabled],aria: {label: s_('ProtectedBranch|Unprotect branch')},data: {confirm: s_('ProtectedBranch|Branch will be writable for developers. Are you sure?'),confirm_btn_variant: 'danger'},method: :delete,class: "btn gl-button btn-warning"