<%= content_tag :fieldset, class: 'form--fieldset description attributes-group', id: "#{vendor}-#{type}", hidden: !existing, data: { 'repository-settings-target': 'scmTypeOptions' } do %>
<%= t("repositories.#{vendor}.#{type}_url") %>
<% unless repository.new_record? %>
<%= render partial: 'projects/settings/repository/repository_committers_link', locals: { repository: repository } %> <% if type === 'managed' %> <%= link_to t(:button_delete), destroy_info_project_repository_path(repository.project), method: :get, class: 'icon icon-delete' %> <% else %> <%= link_to t(:button_remove), destroy_info_project_repository_path(repository.project), method: :get, class: 'icon icon-remove' %> <% end %>
<% end %>

<%= t("repositories.#{vendor}.#{type}_introduction") %>

<%= render partial: "projects/settings/repository/#{vendor}/#{type}", locals: { form: form, repository: repository } %>
<% end %>