修改BUG
This commit is contained in:
parent
955cf619b8
commit
0e0da39113
|
@ -87,78 +87,72 @@
|
||||||
<div id="put-project-form" style="display: none; padding-left: 83px; width: 88%">
|
<div id="put-project-form" style="display: none; padding-left: 83px; width: 88%">
|
||||||
<%= form_for Softapplication.new, :url => softapplications_path do |f| %>
|
<%= form_for Softapplication.new, :url => softapplications_path do |f| %>
|
||||||
<fieldset class="contes-new-box" style="padding-left: 36px; line-height: 8px; margin-left: 1px" >
|
<fieldset class="contes-new-box" style="padding-left: 36px; line-height: 8px; margin-left: 1px" >
|
||||||
<%= hidden_field_tag 'contest_id', @contest.id %>
|
<%= hidden_field_tag 'contest_id', @contest.id %>
|
||||||
<tr style="width:700px; margin-left: -10px;">
|
<tr style="width:700px; margin-left: -10px;">
|
||||||
<span><%= l(:label_work_name) %></span>
|
<span><%= l(:label_work_name) %></span>
|
||||||
<span class="contest-star"> * </span>:
|
<span class="contest-star"> * </span>:
|
||||||
<td><%= f.text_field :name, :required => true, :size => 60, :style => "width:400px;" %></td>
|
<td><%= f.text_field :name, :required => true, :size => 60, :style => "width:400px;" %></td>
|
||||||
<span style="font-size: 10px">(<%= l(:label_workname_lengthlimit) %>)</span>
|
<span style="font-size: 10px">(<%= l(:label_workname_lengthlimit) %>)</span>
|
||||||
</tr>
|
</tr>
|
||||||
<br/>
|
<br/>
|
||||||
<br/>
|
<br/>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
<tr style="width:800px;">
|
|
||||||
<span><%= l(:label_running_platform) %></span>
|
|
||||||
<span class="contest-star"> * </span>:
|
|
||||||
<td style="width: 100px"><%= f.text_field :android_min_version_available, :required => true, :size => 60, :style => "width:400px;" %></td>
|
|
||||||
|
|
||||||
</tr>
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
<tr style="width:800px;">
|
<tr style="width:800px;">
|
||||||
<span style="margin-top: 1px"><%= l(:label_work_description) %></span>
|
<span><%= l(:label_running_platform) %></span>
|
||||||
<span class="contest-star"> * </span>:
|
<span class="contest-star"> * </span>:
|
||||||
|
<td style="width: 100px"><%= f.text_field :android_min_version_available, :required => true, :size => 60, :style => "width:400px;" %></td>
|
||||||
<span class="jstEditor">
|
|
||||||
<textarea id="contest_description" style="font-size:small;width:400px;" rows="5" cols="40">
|
|
||||||
<%= @contest.description %>
|
|
||||||
</textarea>
|
|
||||||
</span>
|
|
||||||
|
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
<br/>
|
<br/>
|
||||||
<br/>
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
<tr style="width:800px;">
|
<br/>
|
||||||
<span><%= l(:label_softapplication_developers) %></span>
|
|
||||||
<span class="contest-star"> * </span>:
|
|
||||||
<td style="width: 100px"><%= f.text_field :application_developers, :required => true, :size => 60, :style => "width:400px;" %></td>
|
|
||||||
|
|
||||||
</tr>
|
<tr style="width:800px;">
|
||||||
<br/>
|
<span><%= l(:label_work_description) %></span>
|
||||||
<br/>
|
<span class="contest-star"> * </span>:
|
||||||
<br/>
|
<td style="width: 100px"><%= f.text_field :description, :required => true, :size => 60, :style => "width:400px;" %></td>
|
||||||
|
<span style="font-size: 10px">(<%= l(:label_workdescription_lengthlimit) %>)</span>
|
||||||
|
</tr>
|
||||||
|
<br/>
|
||||||
|
<br/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
<tr style="width:800px;">
|
<tr style="width:800px;">
|
||||||
<span><%= l(:label_work_deposit_project) %>:</span>
|
<span><%= l(:label_softapplication_developers) %></span>
|
||||||
<span style="padding-left: 4px"><%= select_tag 'project', options_for_select(select_option_helper(@option)), :name => 'project', :class => 'grayline2' %></span>
|
<span class="contest-star"> * </span>:
|
||||||
<span><%= link_to l(:label_create_new_projects), new_project_path(course: 0, project_type: 0), :target => '_blank' %></span>
|
<td style="width: 100px"><%= f.text_field :application_developers, :required => true, :size => 60, :style => "width:400px;" %></td>
|
||||||
</tr>
|
|
||||||
<br/>
|
|
||||||
<br/>
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
<fieldset style="width: 500px; padding-top: 10px">
|
</tr>
|
||||||
<legend>
|
<br/>
|
||||||
<%= l(:label_upload_softworkpacket_photo) %>
|
<br/>
|
||||||
</legend>
|
<br/>
|
||||||
<%#= render_flash_messages %>
|
|
||||||
<p id="put-bid-form-partial">
|
|
||||||
<%= render :partial => 'attachments/form' %>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p style="font-size: 11px">
|
<tr style="width:800px;">
|
||||||
1、<%= l(:label_upload_softapplication_packets_mustpacketed) %> <br/>
|
<span><%= l(:label_work_deposit_project) %>:</span>
|
||||||
<br>
|
<span style="padding-left: 4px"><%= select_tag 'project', options_for_select(select_option_helper(@option)), :name => 'project', :class => 'grayline2' %></span>
|
||||||
2、<%= l(:label_upload_softapplication_photo_condition) %>
|
<span><%= link_to l(:label_create_new_projects), new_project_path(course: 0, project_type: 0), :target => '_blank' %></span>
|
||||||
</p>
|
</tr>
|
||||||
|
<br/>
|
||||||
|
<br/>
|
||||||
|
<br/>
|
||||||
|
|
||||||
</fieldset>
|
<fieldset style="width: 500px; padding-top: 10px">
|
||||||
|
<legend>
|
||||||
|
<%= l(:label_upload_softworkpacket_photo) %>
|
||||||
|
</legend>
|
||||||
|
<%#= render_flash_messages %>
|
||||||
|
<p id="put-bid-form-partial">
|
||||||
|
<%= render :partial => 'attachments/form' %>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p style="font-size: 11px">
|
||||||
|
1、<%= l(:label_upload_softapplication_packets_mustpacketed) %> <br/>
|
||||||
|
<br>
|
||||||
|
2、<%= l(:label_upload_softapplication_photo_condition) %>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
</fieldset>
|
||||||
</fieldset></br>
|
</fieldset></br>
|
||||||
<div class="align-center" style="padding-top: -3px; padding-bottom: 8px">
|
<div class="align-center" style="padding-top: -3px; padding-bottom: 8px">
|
||||||
<%= submit_tag l(:button_create) %>
|
<%= submit_tag l(:button_create) %>
|
||||||
|
@ -256,9 +250,9 @@
|
||||||
<span style="padding-left: 240px"><strong><%= l(:label_attendingcontest_spoksman) %>
|
<span style="padding-left: 240px"><strong><%= l(:label_attendingcontest_spoksman) %>
|
||||||
<!-- modified by zjc 添加超链接 -->
|
<!-- modified by zjc 添加超链接 -->
|
||||||
<% unless c_project.nil? || c_project.user.nil? %>
|
<% unless c_project.nil? || c_project.user.nil? %>
|
||||||
:</strong><%= link_to c_project.user.name,user_path(c_project.user) %></span>
|
:</strong><%= link_to c_project.user.name,user_path(c_project.user) %></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="padding-left: 68px">
|
<div style="padding-left: 68px">
|
||||||
|
|
||||||
|
@ -293,9 +287,9 @@
|
||||||
<span style="padding-left: 240px"><strong><%= l(:label_attendingcontest_spoksman) %>
|
<span style="padding-left: 240px"><strong><%= l(:label_attendingcontest_spoksman) %>
|
||||||
<!-- modified by zjc 添加超链接 -->
|
<!-- modified by zjc 添加超链接 -->
|
||||||
<% unless c_softapplication.nil? || c_softapplication.softapplication.nil? || c_softapplication.softapplication.user.nil? %>
|
<% unless c_softapplication.nil? || c_softapplication.softapplication.nil? || c_softapplication.softapplication.user.nil? %>
|
||||||
:</strong><%= link_to c_softapplication.softapplication.user.name,user_path(c_softapplication.softapplication.user) %></span>
|
:</strong><%= link_to c_softapplication.softapplication.user.name,user_path(c_softapplication.softapplication.user) %></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--获奖及教师评奖-->
|
<!--获奖及教师评奖-->
|
||||||
<div style="padding-left: 18px; padding-bottom: 5px">
|
<div style="padding-left: 18px; padding-bottom: 5px">
|
||||||
|
|
Loading…
Reference in New Issue