消息列表报500

This commit is contained in:
cxt 2016-08-09 10:39:32 +08:00
parent 40dc9b761f
commit 153e02c4fa
1 changed files with 1 additions and 1 deletions

View File

@ -601,7 +601,7 @@
</p>
<p>申请班级:<%= Course.find(ma.course_id).name%></p>
<div class="fl">班级描述:</div>
<div class="ml60"><%= Course.find(ma.course_id).description.html_safe %></div>
<div class="ml60"><%= Course.find(ma.course_id).description.nil? ? "" : Course.find(ma.course_id).description.html_safe %></div>
<p>申请职位:<%= ma.content == '9' ? "教师" : "教辅"%></p>
</div>
<li class="homepageNewsTime fl"><%= time_tag(ma.created_at).html_safe %> </li>