You can upload any file as an attachment using ActiveStorage. Use the content.attachment_url
helper to render the URL.
config.parts = [
# ...
{
name: "file",
title: "File",
part_type: "Spina::Parts::Attachment"
}
]
<%= content.attachment_url(:file) %>