diff --git a/app/views/bids/_bid_show.html.erb b/app/views/bids/_bid_show.html.erb index 6292e35d1..36e8e9dd5 100644 --- a/app/views/bids/_bid_show.html.erb +++ b/app/views/bids/_bid_show.html.erb @@ -15,11 +15,11 @@
<% if bid.reward_type.nil? or bid.reward_type == 1%> - 奖励方式:奖金 <%= bid.budget%><%= l(:label_RMB_sign) %> + <%= l(:label_bids_reward_method) %><%= l(:label_call_bonus) %> <%= bid.budget%><%= l(:label_RMB_sign) %> <% elsif bid.reward_type == 2%> - 奖励方式:<%= bid.budget%> + <%= l(:label_bids_reward_method) %><%= bid.budget%> <% else %> - 奖励方式:学分 <%= bid.budget%>分 + <%= l(:label_bids_reward_method) %><%= l(:label_bids_grade) %> <%= bid.budget%><%= l(:label_bids_grade_number) %> <% end %> (<%= link_to bid.biding_projects.count, project_for_bid_path(bid)%>)<%= l(:label_biding_project) %> (<%= link_to bid.commit, respond_path(bid)%>)<%= l(:label_responses) %> @@ -64,11 +64,11 @@ | |||||
奖励方式:奖金 <%= bid.budget%><%= l(:label_RMB_sign) %> | +<%= l(:label_bids_reward_method) %><%= l(:label_call_bonus) %> <%= bid.budget%><%= l(:label_RMB_sign) %> | <% elsif bid.reward_type == 2%> -奖励方式:<%= bid.budget%> | +<%= l(:label_bids_reward_method) %><%= bid.budget%> | <% else %> -奖励方式:学分 <%= bid.budget%>分 | +<%= l(:label_bids_reward_method) %>学分 <%= bid.budget%>分 | <% end %>
<%= select_tag 'bid_reward_type', "".html_safe, :class => 'noline' %> | +<%= select_tag 'bid_reward_type', "".html_safe, :class => 'noline' %> | <%= text_field_tag 'bid_budget', "#{l(:label_requirement_bargain_money)}", :class => 'noline', :required => true, :onfocus => "clearInfo('bid_budget', '#{l(:label_requirement_bargain_money)}')", :onblur => "showInfo('bid_budget', '#{l(:label_requirement_bargain_money)}')" %> | diff --git a/app/views/bids/show.html.erb b/app/views/bids/show.html.erb index c51a66bfd..4313cfb1d 100644 --- a/app/views/bids/show.html.erb +++ b/app/views/bids/show.html.erb @@ -8,11 +8,11 @@|||
奖励方式:奖金 <%= @bid.budget%><%= l(:label_RMB_sign) %> | +<%= l(:label_bids_reward_method) %><%= l(:label_call_bonus) %> <%= @bid.budget%><%= l(:label_RMB_sign) %> | <% elsif @bid.reward_type == 2%> -奖励方式:<%= @bid.budget%> | +<%= l(:label_bids_reward_method) %><%= @bid.budget%> | <% else %> -奖励方式:学分 <%= @bid.budget%>分 | +<%= l(:label_bids_reward_method) %><%= l(:label_bids_grade) %> <%= @bid.budget%><%= l(:label_bids_grade_number) %> | <% end %>