编辑作业样式
This commit is contained in:
parent
a6a144d079
commit
e6a724d439
|
@ -79,17 +79,11 @@
|
|||
<label style="float: left;">
|
||||
添加附件 :
|
||||
</label>
|
||||
<% unless @homework.attachments.empty?%>
|
||||
<p style=" padding: 3px 0 3px 0;padding-left: 90px;">
|
||||
<% options = {:author => true, :deletable => attach_delete(@homework)} %>
|
||||
<%= render :partial => 'attachments/links',
|
||||
:locals => {:attachments => @homework.attachments, :options => options} %>
|
||||
</p>
|
||||
<% end %>
|
||||
<p style=" padding: 3px 0 3px 0;padding-left: 90px;">
|
||||
<%= render :partial => 'attachments/form' %>
|
||||
</p>
|
||||
<div style="float: left;padding-bottom: 15px;">
|
||||
<%= render :partial => 'attachments/form', :locals => {:container => @homework}%>
|
||||
</div>
|
||||
</p>
|
||||
<div class="cl"></div>
|
||||
<p>
|
||||
<label> 开发项目
|
||||
<img src="/images/bid/pic_question.png" width="16" height="16"
|
||||
|
|
Loading…
Reference in New Issue