Class: ActiveAdmin::Inputs::FileInput
- Inherits:
-
Formtastic::Inputs::FileInput
- Object
- Formtastic::Inputs::FileInput
- ActiveAdmin::Inputs::FileInput
- Defined in:
- lib/adminterface/extensions/inputs/file_input.rb
Instance Method Summary collapse
- #input_html ⇒ Object
-
#to_html ⇒ Object
@TODO: use custom component so we can change the translations in I18n YAML files.
Methods included from Adminterface::Extensions::Inputs::Base::ActiveAdminConfig
#active_admin_config, #inputs_config
Methods included from Adminterface::Extensions::Inputs::Base::Pluginish
#plugin?, #plugins_configs, #plugins_options
Methods included from Adminterface::Extensions::Inputs::Base::Wrapping
#input_wrapping, #input_wrapping_html, #wrapper_classes
Methods included from Adminterface::Extensions::Inputs::Base::Labelling
Methods included from Adminterface::Extensions::Inputs::Base::Html
Methods included from Adminterface::Extensions::Inputs::Base::Groupish
Instance Method Details
#input_html ⇒ Object
14 15 16 |
# File 'lib/adminterface/extensions/inputs/file_input.rb', line 14 def input_html builder.file_field(method, ) end |
#to_html ⇒ Object
@TODO: use custom component so we can change the translations in I18n YAML files
8 9 10 11 12 |
# File 'lib/adminterface/extensions/inputs/file_input.rb', line 8 def to_html input_wrapping do label_html << input_html end end |