项目添加评审按钮修改
This commit is contained in:
parent
ecae8d1f35
commit
3239ab12e9
|
@ -107,7 +107,7 @@
|
||||||
<%
|
<%
|
||||||
submit_url = url_for(:controller => 'code_review', :action => 'new', :id=>@project)
|
submit_url = url_for(:controller => 'code_review', :action => 'new', :id=>@project)
|
||||||
%>
|
%>
|
||||||
<%= button_to_function l(:button_apply), "$('#review-form').load('#{submit_url}', $('#review_form').serialize2json())" %>
|
<%= button_to_function l(:label_button_ok), "$('#review-form').load('#{submit_url}', $('#review_form').serialize2json())" %>
|
||||||
|
|
||||||
<input type="button" value="<%=h l(:button_cancel) %> " onclick="javascript:hideForm();"/>
|
<input type="button" value="<%=h l(:button_cancel) %> " onclick="javascript:hideForm();"/>
|
||||||
<%= preview_link({ :controller => 'code_review', :action => 'preview', :id => @project}, 'review_form') %>
|
<%= preview_link({ :controller => 'code_review', :action => 'preview', :id => @project}, 'review_form') %>
|
||||||
|
|
Loading…
Reference in New Issue