修改引用作业中的显示样式

exceptionHandle
fanqiang 12 years ago
parent 781fa32dbb
commit 4641f8cd63

@ -2,7 +2,7 @@
<%= error_messages_for 'bid' %>
<!--[form:project]-->
<p><%= l(:label_homeworks_form_new_description) %></p>
<p><%= select_tag 'course', course_options_for_select(@courses) %></p>
<p>选择课程<%= select_tag 'course', course_options_for_select(@courses) %></p>
<p><%= f.text_field :name, :required => true, :size => 60, :style => "width:490px;", :maxlength => Bid::NAME_LENGTH_LIMIT, :value => @bid.name %></p>
<p style="margin-left:-10px;padding-right: 20px;">

@ -50,6 +50,12 @@
<tr>
<td><%= l(:label_limit_time) %> <%= @bid.deadline %></td>
</tr>
<% unless @bid.parent_id.nil?%>
<tr>
<td><div style="overflow: hidden;white-space: nowrap;text-overflow: ellipsis; -o-text-overflow: ellipsis; width:200px">
作业来源:<%= link_to(Bid.find(@bid.parent_id).name, respond_path(Bid.find(@bid.parent_id))) %></div></td>
</tr>
<% end %>
</table>
</div>

Loading…
Cancel
Save