修改新建需求时的校验问题
This commit is contained in:
parent
7e44294dd1
commit
a14460cef9
|
@ -229,8 +229,10 @@ class BidsController < ApplicationController
|
||||||
@bid.commit = 0
|
@bid.commit = 0
|
||||||
if @bid.save
|
if @bid.save
|
||||||
redirect_to respond_path(@bid)
|
redirect_to respond_path(@bid)
|
||||||
|
else
|
||||||
|
@bid.safe_attributes = params[:bid]
|
||||||
|
render :action => 'new_bid'
|
||||||
end
|
end
|
||||||
render :action => 'new_bid'
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def more
|
def more
|
||||||
|
|
|
@ -1293,3 +1293,4 @@ en:
|
||||||
label_issue_query_condition: Query condition
|
label_issue_query_condition: Query condition
|
||||||
label_issue_query: Query
|
label_issue_query: Query
|
||||||
label_issue_cancel_query: Cancel query
|
label_issue_cancel_query: Cancel query
|
||||||
|
field_reward_type: The type of reward
|
||||||
|
|
|
@ -1314,3 +1314,4 @@ zh:
|
||||||
label_issue_query_condition: 查询条件
|
label_issue_query_condition: 查询条件
|
||||||
label_issue_query: 查询
|
label_issue_query: 查询
|
||||||
label_issue_cancel_query: 取消查询
|
label_issue_cancel_query: 取消查询
|
||||||
|
field_reward_type: 奖励类型
|
Loading…
Reference in New Issue