Sha256: 3e525b6bb15c5db0c70815754979f726b60732d2def5d284124e38801d2a6f07

Contents?: true

Size: 504 Bytes

Versions: 13

Compression:

Stored size: 504 Bytes

Contents

<div class="ih-span one-quarter">
	<div class="ih-row">
		<%= filter.param.humanize %>
	</div>
	<div class="ih-row">
		<% options = @filter_collections.send(filter.collection) %>
		<%= 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

13 entries across 13 versions & 1 rubygems

Version Path
clark_kent-0.2.3 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.2.2 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.2.1 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.2.0 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.1.7 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.1.6 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.1.5 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.1.4 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.1.3 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.1.2 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.1.1 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.1.0 app/views/clark_kent/reports/_object_filter.html.erb
clark_kent-0.0.1 app/views/clark_kent/reports/_object_filter.html.erb