Class: SymbolInput
- Inherits:
-
SimpleForm::Inputs::Base
- Object
- SimpleForm::Inputs::Base
- SymbolInput
- Defined in:
- app/inputs/symbol_input.rb
Instance Method Summary collapse
Instance Method Details
#input(wrapper_options) ⇒ Object
2 3 4 |
# File 'app/inputs/symbol_input.rb', line 2 def input() "<label for='#{object_name}_#{attribute_name}' class='#{[:span_class]}'>#{[:content_text]}</label>#{@builder.text_field(attribute_name, "data-validate" => ['data-validate'], placeholder: [:placeholder])}".html_safe end |