Sha256: 3cc3cd64c0a8f813c92817f640dc638047f986fc37f12c7dab7f84cc4f0d790b

Contents?: true

Size: 767 Bytes

Versions: 2

Compression:

Stored size: 767 Bytes

Contents

<%= select_tag("#{form_field}_select", options_for_select(values.collect { |ff| [ff.send(field_show), ff.send(field_store), :class => "selected"] }, values.collect { |fs| fs.send(field_store) }),
                   {:multiple=>true, :id => "#{form_field}_select"}) %>

				<script type="text/javascript">
				            $(document).ready(function(){                
				                $("#<%= form_field %>_select").fcbkcomplete({
				                    json_url: "<%= autocomplete %>",
				                    addontab: true,                   
				                    maxitems: 100,
				                    height: 15,
				                    cache: true,
									width: <%= width || 300 %>
				
				                });
				            });
				        </script>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
guara-0.0.3 app/views/shared/_multi_selection.html.erb
guara-0.0.1.rc app/views/shared/_multi_selection.html.erb