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