Sha256: 816f5dcd098de75d88e2c6c94327ffda09bb758cbb75885730eb7223f4b92b8c
Contents?: true
Size: 621 Bytes
Versions: 34
Compression:
Stored size: 621 Bytes
Contents
<div class="ih-span one-quarter"> <div class="ih-row"> <%= filter.param.humanize %> </div> <div class="ih-row"> <% options = case filter.collection.class.name when 'String', 'Symbol' @filter_collections.send(filter.collection) when 'Array' filter.collection end %> <%= select_tag filter.param, options_from_collection_for_select( options, (select_value_method(filter.param,options.first)), (select_text_method(filter.param,options.first)), params[filter.param]), {include_blank: true}.merge((options.length > 25) ? {'data-autocomplete' => true} : {}) %> </div> </div>
Version data entries
34 entries across 34 versions & 1 rubygems