<%= form_tag(url_for(:controller => 'pull_requests', :action => 'create_pull_request_comment', :project_id => @project.id), :id => 'pull_request_comment_form', :method => "post", :remote => true) do %> <% if User.current.member_of?(@project) %> 留言 <% else %> 留言 <% end %> <% end %>