|
|
|
@ -44,7 +44,7 @@
|
|
|
|
|
<%= form_for(@homework) do |f|%>
|
|
|
|
|
<p style=" padding: 3px 0 3px 0;padding-left: 50px; clear:left;">
|
|
|
|
|
<strong>标 题 <span style="color: red">*</span>:</strong>
|
|
|
|
|
<%= f.text_field :name, :required => true, :name => "homework_name", :size => 60, :style => "width:490px;"%>
|
|
|
|
|
<%= f.text_field :name, :required => true, :name => "homework_name", :size => 60, :style => "width:490px;", :maxlength => 254%>
|
|
|
|
|
</p>
|
|
|
|
|
<p style=" padding: 3px 0 3px 0;padding-left: 50px; clear:left;">
|
|
|
|
|
<strong>提交项目 :</strong>
|
|
|
|
@ -60,7 +60,7 @@
|
|
|
|
|
<p style=" padding: 3px 0 3px 0;padding-left: 50px; clear:left;">
|
|
|
|
|
<strong style="vertical-align: top">描 述 :</strong>
|
|
|
|
|
<span style="margin-left:-10px;padding-right: 20px;">
|
|
|
|
|
<%= f.text_area :description, :rows => 8, :name => "homework_description", :class => 'wiki-edit', :style => "font-size:small;width:490px;margin-left:10px;" %>
|
|
|
|
|
<%= f.text_area :description, :rows => 8, :name => "homework_description", :class => 'wiki-edit', :maxlength => 65534, :style => "font-size:small;width:490px;margin-left:10px;" %>
|
|
|
|
|
</span>
|
|
|
|
|
</p>
|
|
|
|
|
<p style="padding-left: 60px">
|
|
|
|
|