Class: TagsInput

Inherits:
FormtasticBootstrap::Inputs::StringInput
  • Object
show all
Defined in:
app/inputs/tags_input.rb

Direct Known Subclasses

TagListInput, TaglistInput

Instance Method Summary collapse

Instance Method Details

#input_html_optionsObject



2
3
4
# File 'app/inputs/tags_input.rb', line 2

def input_html_options
  super.merge(:class => "taglist", :data => {:autocomplete => @options[:autocomplete], :text => @options[:text]})
end

#wrapper_html_optionsObject



6
7
8
# File 'app/inputs/tags_input.rb', line 6

def wrapper_html_options
  super.merge(:class => "mb1")
end