socialforge/app/views/courses/_join_or_add.html.erb

6 lines
327 B
Plaintext
Raw Normal View History

<% if @canShowCode %>
<%= link_to '添加成员', search_not_group_member_course_path(@course,:group_id => @group.id),:remote => true, :class => "sy_btn_green fl mr10" %>
<% else %>
<%= join_in_course_group(@course,@group, User.current) %>
<!--<span class="c_red none fl" id="join_group_notice"></span>-->
<% end %>