ben7th/vote — comment on commit 1afdf4f1b141836a3e42fef702e168045065dfb9
File: app/views/votes/new.html.erb line 43
By mykingla:

-
1

-
2

-
+ <%= f.select(:vote_type,[["单选","1"],["多选","2"]]) %>
我想在 controller 层，根据 select_limit 来判断 vote_type