作品分类在下拉列表框中选择

This commit is contained in:
sw 2014-07-19 13:13:46 +08:00
parent 79c76d26c8
commit 71ffdb9164
2 changed files with 16 additions and 1 deletions

View File

@ -33,7 +33,7 @@
<p><%= f.text_field :deadline, :required => true, :size => 60, :style => "width:150px;" %><%= calendar_for('bid_deadline')%> <p><%= f.text_field :deadline, :required => true, :size => 60, :style => "width:150px;" %><%= calendar_for('bid_deadline')%>
</p> </p>
<!-- <!--
<p><%= f.select :homework_type, homework_type_option %> <p><%#= f.select :homework_type, homework_type_option %>
</p> </p>
--> -->
<p><%= f.select :is_evaluation, is_evaluation_option %> <p><%= f.select :is_evaluation, is_evaluation_option %>

View File

@ -105,7 +105,22 @@
</tr> </tr>
<br/> <br/>
<br/>
<br/>
<tr style="width:800px;">
<span><%= l(:label_work_type) %></span>
<span class="contest-star"> * </span>:
<td style="width: 100px">
<span>
<%#= select_tag 'app_type_name', work_type_opttion, {:name => 'app_type_name',:style => "width:358px;"} %>
</span>
<%= f.select :app_type_name,work_type_opttion, {},{:style => "width:358px;"} %>
<%#= f.text_field :app_type_name, :required => true, :size => 60, :style => "width:400px;" %>
</td>
</tr>
<br/>
<br/>
<br/> <br/>
<tr style="width:800px;"> <tr style="width:800px;">