发布作业样式

This commit is contained in:
sw 2015-08-28 16:59:40 +08:00
parent bbb8e5a062
commit 148a4e2479
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<%= javascript_include_tag "/assets/kindeditor/kindeditor" %>
<div class="HomeWorkCon">
<div class="mt15">
<div>
<input type="text" name="homework_common[name]" id="homework_name" class="InputBox W700" maxlength="255" onkeyup="regex_homework_name();" placeholder="请输入作业标题" value="<%= homework.name%>" >
<p id="homework_name_span" class="c_red mt5"></p>
</div>

View File

@ -30,7 +30,7 @@
</div>
<div class="cl"></div>
<div class="HomeWork">
<div class="HomeWork mb10">
<% homework = HomeworkCommon.new %>
<%= labelled_form_for homework,:url => user_new_homework_users_path,:method => "post" do |f| %>
<div id="HomeWorkCon">