.authentication-providers
  h2.title
    ' Customize
    = link_to "#{icon(@authentication_provider.kind)} #{@authentication_provider.human_kind}".html_safe,
        provider_admin_authentication_provider_path(@authentication_provider)
  span.operations
    -  if can? :manage, :authentication_providers
      = link_to 'delete', provider_admin_authentication_provider_path(@authentication_provider),
        data: {confirm: 'Are you sure?'}, method: :delete,
        title: 'Delete authentication provider', class: 'action delete'

  .content
    = render partial: 'form', locals: {authentication_provider: @authentication_provider}
