提交作品时文本框要有提示文字

This commit is contained in:
cxt 2017-09-21 11:32:39 +08:00
parent cefc5edbfe
commit e237b4c4cd
1 changed files with 6 additions and 4 deletions

View File

@ -50,6 +50,9 @@
:owner_id => @student_work.nil? ? 0: @student_work.id,
:owner_type => OwnerTypeHelper::STUDENTWORK,
:width => '90%',
:placeholder => "请在此输入您的作业内容,或者作业附件的简要描述。",
:local_storage_mdu => "student_work_description_#{User.current.id}",
:local_storage_id => "desc",
:height => 200,
:minHeight=>200,
:class => 'talk_text fl',
@ -58,10 +61,9 @@
:maxlength => 5000 }
%>
</li>
<!--<li class="clearfix ">-->
<!--<label class=" panel-form-label fl">&nbsp;&nbsp;</label>-->
<!--<span class="fl color-grey font-12">数据已于 16:50:50 保存</span>-->
<!--</li>-->
<div class="cl"></div>
<p id="e_tip_desc" style="margin-left: 10%" class="c_grey"></p>
<p id="e_tips_desc" style="margin-left: 10%" class="c_grey"></p>
<li class="none" id="student_work_description_notice">
<label class="panel-form-label fl">&nbsp;</label>
<span class="color-orange fl mt5"><i class="fa fa-exclamation-circle mr5 color-orange"></i>内容不能为空</span>