=link_to'Unprotect',[@project.namespace.becomes(Namespace),@project,protected_branch],data: {confirm: 'Branch will be writable for developers. Are you sure?'},method: :delete,class: "btn btn-warning btn-sm pull-right"
=link_to'Unprotect',[@project.namespace.becomes(Namespace),@project,protected_branch],data: {confirm: 'Branch will be writable for developers. Are you sure?'},method: :delete,class: 'btn btn-warning'
%li prevent <strong>anyone</strong> from deleting the branch
%li prevent <strong>anyone</strong> from deleting the branch
%p.append-bottom-0 Read more about #{link_to"protected branches",help_page_path("user/project/protected_branches"),class: "underlined-link"} and #{link_to"project permissions",help_page_path("user/permissions"),class: "underlined-link"}.
%p.append-bottom-0 Read more about #{link_to"protected branches",help_page_path("user/project/protected_branches"),class: "underlined-link"} and #{link_to"project permissions",help_page_path("user/permissions"),class: "underlined-link"}.