diff --git a/app/views/projects/settings/_repository.rhtml b/app/views/projects/settings/_repository.rhtml index 18bb2cd7073..56b5b1c7ca6 100644 --- a/app/views/projects/settings/_repository.rhtml +++ b/app/views/projects/settings/_repository.rhtml @@ -7,7 +7,10 @@

<%= label_tag('repository_scm', l(:label_scm)) %><%= scm_select_tag(@repository) %>

-<%= repository_field_tags(f, @repository) if @repository %> +<% if @repository %> +

<%= label_tag('repositories_branches', l(:label_github_url)) %><%= text_field_tag("repository[github_url]", @repository.github_url, :required => true) %> <%= l(:text_github_info) %>

+

<%= label_tag('repositories_branches', l(:label_scm_branches)) %><%= text_field_tag("repository[project_branches]", @repository.project_branches) %> <%= l(:text_github_branch_info) %>

+<% end %>