Skip to content

Commit

Permalink
disable url text_field, add github_url and project_branches in view
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank committed Jul 30, 2010
1 parent 3e86020 commit dfa6daf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/views/projects/settings/_repository.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@

<div class="box tabular">
<p><%= label_tag('repository_scm', l(:label_scm)) %><%= scm_select_tag(@repository) %></p>
<%= repository_field_tags(f, @repository) if @repository %>
<% if @repository %>
<p><%= label_tag('repositories_branches', l(:label_github_url)) %><%= text_field_tag("repository[github_url]", @repository.github_url, :required => true) %> <%= l(:text_github_info) %></p>
<p><%= label_tag('repositories_branches', l(:label_scm_branches)) %><%= text_field_tag("repository[project_branches]", @repository.project_branches) %> <%= l(:text_github_branch_info) %></p>
<% end %>
</div>

<div class="contextual">
Expand Down

0 comments on commit dfa6daf

Please sign in to comment.