新增课程成员时增加默认选项

This commit is contained in:
sw 2015-03-30 16:03:24 +08:00
parent 5640eae39b
commit de0403580e
1 changed files with 1 additions and 1 deletions

View File

@ -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 %>