关联Commit

<% if @commits.blank? %> <%= render :partial => "projects/no_data" %> <% else %>
<%= form_tag(url_for(:controller => 'issues', :action => 'issue_commits', :project_id => @project.id, :type => "search"), :remote => true, :method => 'get', :id => 'issue_commit_form', :class => "fl") do %>
  •  分支  :  <%= select_tag :branch, options_for_select(["#{@default_branch}"]+ @branch_names, @rev), :class => "fl newupload_select", :style => "width:180px;height:28px;", :onchange => "$('#issue_commit_form').submit();" %>
<% end %>
<%= render :partial => "issues/issue_commits_list" %>
<% end %>