新增课程成员时增加默认选项
This commit is contained in:
parent
5640eae39b
commit
de0403580e
|
@ -35,7 +35,7 @@
|
|||
</li>
|
||||
<% @roles.each do |role| %>
|
||||
<li>
|
||||
<%= radio_button_tag 'membership[role_ids][]', role.id %>
|
||||
<%= radio_button_tag 'membership[role_ids][]', role.id, role.name == "学生" || role.name == "Student" %>
|
||||
<label ><%= h role %></label>
|
||||
</li>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue