display small multiple selects as checkboxes
This commit is contained in:
parent
22fc4c4195
commit
342129c893
2 changed files with 16 additions and 6 deletions
|
@ -1,6 +1,8 @@
|
|||
class Champs::MultipleDropDownListChamp < Champ
|
||||
before_save :format_before_save
|
||||
|
||||
THRESHOLD_NB_OPTIONS_AS_RADIO = 3
|
||||
|
||||
def search_terms
|
||||
selected_options
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue