|
|
|
@ -127,12 +127,12 @@
|
|
|
|
|
<%=hidden_field_tag 'group_member_ids', params[:group_member_ids], :value=>User.current.id %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<div>
|
|
|
|
|
<%= f.text_field "name", :required => true, :size => 60, :class => "InputBox W700", :maxlength => 200, :placeholder => "请简洁的概括作品的功能或特性", :onkeyup => "regexStudentWorkName();" %>
|
|
|
|
|
<%= f.text_field "name", :required => true, :size => 60, :class => "InputBox W700", :maxlength => 200, :placeholder => "请输入作品名称", :onkeyup => "regexStudentWorkName();" %>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<p id="student_work_name_span" class="c_red mb10"></p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="mt10">
|
|
|
|
|
<%= f.text_area "description", :class => "InputBox W700 H150", :placeholder => "请介绍你的作品", :onkeyup => "regexStudentWorkDescription();"%>
|
|
|
|
|
<%= f.text_area "description", :class => "InputBox W700 H150", :placeholder => "请输入作品描述", :onkeyup => "regexStudentWorkDescription();"%>
|
|
|
|
|
<script>
|
|
|
|
|
var text = document.getElementById("student_work_description");
|
|
|
|
|
autoTextarea(text);// 调用
|
|
|
|
|