Class: AttachinaryInput
- Inherits:
-
SimpleForm::Inputs::Base
- Object
- SimpleForm::Inputs::Base
- AttachinaryInput
- Defined in:
- lib/attachinary/simple_form.rb
Instance Attribute Summary collapse
-
#attachinary_options ⇒ Object
readonly
Returns the value of attribute attachinary_options.
Instance Method Summary collapse
Instance Attribute Details
#attachinary_options ⇒ Object (readonly)
Returns the value of attribute attachinary_options.
2 3 4 |
# File 'lib/attachinary/simple_form.rb', line 2 def @attachinary_options end |
Instance Method Details
#input(wrapper_options = {}) ⇒ Object
4 5 6 |
# File 'lib/attachinary/simple_form.rb', line 4 def input(={}) template.builder_attachinary_file_field_tag attribute_name, @builder, { html: } end |