Sha256: 2c6b8453589818a3958b09878053bcfac982be5da09dea882536d6b63d3c1870
Contents?: true
Size: 283 Bytes
Versions: 7
Compression:
Stored size: 283 Bytes
Contents
module SearchesHelper def search_membership_type_options(membership_types, selected=nil) options = [ ['All Membership Types', -1] ] membership_types.each do |type| options << [type.name, type.id] end options_for_select(options, selected) end end
Version data entries
7 entries across 7 versions & 1 rubygems