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

Version Path
clark_kent-0.9.4 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.9.2 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.9.1 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.9.0 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.8.11 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.8.10 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.8.9 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.8.8 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.8.7 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.8.6 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.8.5 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.8.4 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.8.3 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.8.2 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.8.1 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.7.1 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.7.0 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.6.1 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.6.0 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.5.0 app/views/clark_kent/reports/_object_filter.html.erb