邀请码的提示

This commit is contained in:
cxt 2016-07-27 17:14:06 +08:00
parent 2fea69359d
commit e2546cdcb7
1 changed files with 2 additions and 2 deletions

View File

@ -32,12 +32,12 @@
<%= image_tag(url_to_avatar(@course), :width => "110", :height => "110", :alt => "班级logo") %>
</div>
<div class="sy_class_id fl">
<p>邀请码<br />
<p>邀 码<br />
<span class="sy_corange">
<% if User.current.admin? || User.current.member_of_course?(@course) %>
<%=@course.generate_invite_code %>
<% else %>
*****
<span class="f12">请咨询老师</span>
<% end %>
</span>
</p>