Sha256: 0d1e84725142cbc6e14c9f7ed5691cf2559fc2330ad6d698feac9007f170f65f

Contents?: true

Size: 336 Bytes

Versions: 5

Compression:

Stored size: 336 Bytes

Contents

= form.select field.method_name, field.enum, { :include_blank => true }.merge((hdv = field.html_default_value).nil? ? {} : { :selected => hdv }), field.html_attributes.reverse_merge({ :placeholder => t('admin.misc.search') })
= form.javascript_for(field) do
  :plain
    $("#{form.jquery_namespace(field)} select").filteringSelect({});

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
obitum-rails_admin-0.0.5 app/views/rails_admin/main/_form_enumeration.html.haml
drewda_rails_admin-0.0.1 app/views/rails_admin/main/_form_enumeration.html.haml
obitum-rails_admin-0.0.4 app/views/rails_admin/main/_form_enumeration.html.haml
obitum-rails_admin-0.0.3 app/views/rails_admin/main/_form_enumeration.html.haml
obitum-rails_admin-0.0.2 app/views/rails_admin/main/_form_enumeration.html.haml