学生 老师身份不同时默认身份也应该不同

This commit is contained in:
lizanle 2015-11-06 09:34:56 +08:00
parent 84caed0490
commit 9881ad103d
1 changed files with 8 additions and 0 deletions

View File

@ -73,11 +73,19 @@
</li> </li>
<li style="margin-top: 30px;"> <li style="margin-top: 30px;">
<span style="margin-right: 20px;">身&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;份:</span> <span style="margin-right: 20px;">身&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;份:</span>
<% if User.current.extensions.identity == 0%>
<select name="role" class="IDType"> <select name="role" class="IDType">
<option value="9">教师</option> <option value="9">教师</option>
<option value="7">教辅</option> <option value="7">教辅</option>
<option value="10">学生</option> <option value="10">学生</option>
</select> </select>
<%else%>
<select name="role" class="IDType">
<option value="10">学生</option>
<option value="7">教辅</option>
<option value="9">教师</option>
</select>
<%end%>
</li> </li>
<li> <li>
<a href="javascript:" class="btn_join" style="margin-left: 50px;" onclick="submit_form(this);"> <a href="javascript:" class="btn_join" style="margin-left: 50px;" onclick="submit_form(this);">