Class: SimpleFormExtension::Inputs::FileInput
- Inherits:
-
SimpleForm::Inputs::Base
- Object
- SimpleForm::Inputs::Base
- SimpleFormExtension::Inputs::FileInput
- Includes:
- FileConcern, Translations
- Defined in:
- lib/simple_form_extension/inputs/file_input.rb
Instance Method Summary collapse
Methods included from FileConcern
#activestorage_attachment_attached?, #existing_file_name, #existing_file_tag, #file_exists?, #file_preview_and_remove_button, #file_url, #paperclip_attachment_attached?, #remove_attachment_method, #remove_file_button
Methods included from Translations
Instance Method Details
#input(wrapper_options = nil) ⇒ Object
9 10 11 12 13 |
# File 'lib/simple_form_extension/inputs/file_input.rb', line 9 def input( = nil) [:class] << "file-upload" input_markup end |