modify work place in null but can create course

This commit is contained in:
xianbo 2013-09-24 16:18:50 +08:00
parent 633104b493
commit 75c9921231
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@
<tr>
<td valign="top" style="padding-left: 8px;">课程学期:</td><td class="font_lighter_sidebar"><%= @course.term %></td>
</tr>
<% unless @course.teacher.user_extensions.occupation==""%>
<% unless @course.teacher.user_extensions.nil?%>
<tr>
<td valign="top" style="padding-left: 8px;">教师单位:</td><td class="font_lighter_sidebar"><%= @course.teacher.user_extensions.occupation %></td>
</tr>