Skip to content
This repository has been archived by the owner on Dec 21, 2019. It is now read-only.

Tab10id/formtastic_auto_select2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

formtastic_auto_select2

Provide select2 input class for semantic_form (formtastic).

Based on auto_select2 gem.

Gem Version

Installation

Add this line to your application's Gemfile:

gem 'formtastic_auto_select2'

Usage

Static select2

f.input :project, as: :select2

Ajax select2

f.input :user, as: :ajax_select2, placeholder: t(:select_user_from_list),
        default_class_name: :user, default_text_column: [:id, :firstname, :lastname]

More info see in documentation of auto_select2 gem and in auto_select2_tag_example project

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages