<%= l(:text_scm_repository_created_by_scm) %>
<%= l(:text_scm_repository_destroy_confirmation) %>
<% if @project.respond_to?(:repositories) path = repository_path(@repository) method = :delete else path = { :controller => 'repositories', :action => 'destroy', :id => @project } method = :post end %> <%= form_tag(path, :method => method) do %> <%= hidden_field_tag('confirm', 1) %> <%= submit_tag(l(:button_delete)) %> <% end %>