Open
Description
Hi Richard, thank you for the Gem!
Could you provide a bit more documentation how to use trestle-active_storage?
Some questions:
- What is the purpose of
active_storage_fields do [:avatar, :profile_picture] end
? Isn't it sufficient to useactive_storage_field
in aform
block? - How to set the preview-size?
- Is there a way to customize the preview (e.g. add the filename)?
- How to show attachments in the table view?
- How to disable upload of attachments for a view?
- Is there a way to get actions to remove attachments?
- Is there a way to have active storage fields to show up in the automatically generated
form
/table
rather than manually adding them (which requires to create the whole form from scratch)? (found an answer: Adding sidebar without filling form fields? TrestleAdmin/trestle#218 (comment)) - What are the options for localization?
- How can css-styling be applied? At the moment the File selector button looks a bit out-of-place.
Please add information on necessary dependencies: I needed to add the following gems to make the default configuration work:
gem 'poppler'
gem 'image_processing', '~> 1.2'
Metadata
Metadata
Assignees
Labels
No labels