I have a model with a single field with carrierwave for file upload. I searched the google group but don’t find a straightforward way to add file uploads to netzke component. I will be happy with doing it in a panel view with a regular browser file upload, i don’t need anything fancy.
I just saw one of the demos has a file upload, the Paging form with custom layout. I think I still need guidance how to put it into the Basepack Grid
File upload field should first be added into
Basepack::Form(which then can be tested independently):Then your grid should be configured to use this form instead of the built-in one:
For reference, here’s also the
Attachmentmodel: