完成了竞赛中参赛应用列表显示的调整

This commit is contained in:
wanglinchun 2014-05-15 16:50:30 +08:00
parent a0a2d04bd7
commit 44ec6eabf6
1 changed files with 4 additions and 4 deletions

View File

@ -312,8 +312,8 @@
<!-- 评价显隐控制按钮-->
<% if ((User.current.id == @contest.author_id) && (@contest.deadline > Date.today))||User.current.admin %>
<td valign="top" align="right" width="10%">
<span> <%= toggle_link '评奖', c_softapplication.id.to_s %></span>
<div style="valign="top" align="right" width="10%"">
<span style="padding-right: 5px; padding-top: 1px"> <%= toggle_link '评奖', c_softapplication.id.to_s %></span>
<!-- 评价应标项目的表单 -->
<span style="display: none; vertical-align: top " id = '<%= c_softapplication.id %>'>
<%= form_for "set_reward_softapplication",:remote=>true,:url=>set_reward_softapplication_contest_path do |f| %>
@ -325,10 +325,10 @@
<option value = '3'>四等奖</option>
<option value = '4'>五等奖</option>
<option value = '5'>#{l(:label_comfort_reward)}</option>".html_safe %>
<%= f.submit "提交",:class=>"submit" %>
<%= f.submit "提交",:class=>"submit" %>
<% end %>
</span>
</td>
</div>
<% end %>
</span>
</div>