取消新建、修改作业的必填标志

This commit is contained in:
sw 2014-11-11 11:51:17 +08:00
parent ab791f6386
commit 3c2c9149b1
2 changed files with 5 additions and 5 deletions

View File

@ -65,8 +65,8 @@
<span id="homework_attach_name_span"></span> <span id="homework_attach_name_span"></span>
</p> </p>
<p> <p>
<label style="float:left;"> <label style="float:left;padding-left:10px;">
<span class="c_red">*</span> <span class="c_red"></span>
&nbsp;&nbsp;作业描述&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;作业描述&nbsp;&nbsp;&nbsp;&nbsp;
</label> </label>
<%= f.text_area :description, :rows => 8, :name => "homework_description", :class => "w620", <%= f.text_area :description, :rows => 8, :name => "homework_description", :class => "w620",

View File

@ -55,13 +55,13 @@
<span id="homework_attach_name_span"></span> <span id="homework_attach_name_span"></span>
</p> </p>
<p> <p>
<label style="float:left;"> <label style="float:left;padding-left:10px;">
<span class="c_red"> <span class="c_red">
*
</span> </span>
&nbsp;&nbsp;作业描述&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;作业描述&nbsp;&nbsp;&nbsp;&nbsp;
</label> </label>
<%= f.text_area "description", :class => "w620", :maxlength => 3000, :placeholder => "最多3000个汉字" %> <%= f.text_area "description", :class => "w620", :maxlength => 3000, :placeholder => "最多3000个汉字"%>
</p> </p>
<div class="cl"></div> <div class="cl"></div>
<p> <p>