Class: StringInput

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

Instance Method Summary collapse

Instance Method Details

#input_html_optionsObject



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

def input_html_options
  super.merge(:"data-limit" => @options[:limit])
end