|
|
|
@ -16,7 +16,7 @@
|
|
|
|
|
|
|
|
|
|
<div class="df pl20 pr20 mt10">
|
|
|
|
|
<label class="mt3"><span class="mr3 color-orange">*</span>队名:</label>
|
|
|
|
|
<input type="text" name="name" autocomplete="off" <%= none_edit ? "disabled" : "" %> maxlength="20" value="<%= @team.try(:name) %>" class="input-flex-35" style="margin-right: 102px;" placeholder="请输入您的组队名称"/>
|
|
|
|
|
<input type="text" name="name" autocomplete="off" <%= none_edit ? "disabled" : "" %> maxlength="20" value="<%= @team.try(:name) %>" class="input-flex-35" placeholder="请输入您的组队名称"/>
|
|
|
|
|
</div>
|
|
|
|
|
<p style="line-height: 27px;height: 27px"><span id="team_name_notice" class="color-orange-tip ml73 none"></span></p>
|
|
|
|
|
|
|
|
|
@ -24,7 +24,7 @@
|
|
|
|
|
<div class="df pl20 pr20">
|
|
|
|
|
<label class="ml10 mt3">导师:</label>
|
|
|
|
|
<div class="flex1 pr search-new">
|
|
|
|
|
<input type="text" class="input-100-35 fl" <%= @team_user.user_extensions.identity == 0 ? "disabled" : "" %> autocomplete="off" placeholder="请您输入老师姓名进行搜索" id="teacher_search_input"
|
|
|
|
|
<input type="text" class="input-100-35 fl" <%= @team_user.user_extensions.identity == 0 ? "disabled" : "" %> autocomplete="off" placeholder="请您输入老师姓名进行搜索;可以后续再添加导师" id="teacher_search_input"
|
|
|
|
|
value="<%= @team.try(:id).present? ? @team.teacher.try(:show_name) : (@team_user.user_extensions.identity == 0 ? @team_user.show_name : "") %>">
|
|
|
|
|
<input type="hidden" id="teacher_id" data-select="0" value="<%= @team.try(:id).present? ? @team.try(:teacher_id) : (@team_user.user_extensions.identity == 0 ? @team_user.id : "") %>">
|
|
|
|
|
<input type="hidden" id="teacher_name" value="<%= @team.try(:id).present? ? @team.teacher.try(:show_name) : (@team_user.user_extensions.identity == 0 ? @team_user.show_name : "") %>">
|
|
|
|
@ -34,7 +34,7 @@
|
|
|
|
|
<ul class="pointerTeacher none" id="pointerTeacher">
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<a class="fl ml20 white-btn edu-blueback-btn mt4" onclick="add_teacher()">添加导师</a>
|
|
|
|
|
<a class="fl ml20 white-btn edu-blueback-btn mt4 add-teacher-btn" style="display: none;" onclick="add_teacher()">添加导师</a>
|
|
|
|
|
</div>
|
|
|
|
|
<p style="line-height: 27px;height: 27px"><span id="teacher_notice" class="color-orange-tip ml73 none"></span></p>
|
|
|
|
|
<% end %>
|
|
|
|
@ -52,7 +52,7 @@
|
|
|
|
|
<ul class="pointerTeacher none" id="pointerStudent">
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<a class="fl ml20 white-btn edu-blueback-btn mt4" onclick="<%= none_edit ? '' : 'add_member()' %>">添加成员</a>
|
|
|
|
|
<a class="fl ml20 white-btn edu-blueback-btn mt4 add-member-btn" style="display: none;" onclick="<%= none_edit ? '' : 'add_member()' %>">添加成员</a>
|
|
|
|
|
</div>
|
|
|
|
|
<p style="line-height: 27px;height: 27px"><span id="member_notice" class="color-orange-tip ml73 none"></span></p>
|
|
|
|
|
<% end %>
|
|
|
|
|