新增栏目名称过长时添加失败

This commit is contained in:
cxt 2016-10-14 17:05:47 +08:00
parent e59f3f887a
commit 5b5bfe005e
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@
<%= form_tag url_for(:controller => 'boards', :action => 'create', :course_id => @course.id, :board_id => board.id), :id=> 'add_board_form_subboard',:remote => true do %> <%= form_tag url_for(:controller => 'boards', :action => 'create', :course_id => @course.id, :board_id => board.id), :id=> 'add_board_form_subboard',:remote => true do %>
<div class="ml15 mt10"> <div class="ml15 mt10">
<span class="fontGrey3 mb5 mr10">新增子栏目名称 :</span> <span class="fontGrey3 mb5 mr10">新增子栏目名称 :</span>
<input id="subfield_name" name="name" placeholder="请输入子栏目名称" class="orgAddSearch mb10" type="text"> <input id="subfield_name" name="name" placeholder="请输入子栏目名称" maxlength="30" class="orgAddSearch mb10" type="text">
<span id="new_notice" class="undis ml10">名称不能为空</span> <span id="new_notice" class="undis ml10">名称不能为空</span>
</div> </div>
<div class="mb10"> <div class="mb10">