Form file upload example
With hint
How it looks (preview)
Your photo may be in your Pictures, Photos, Downloads or Desktop folder. Or in an app like iPhoto.
How to call this example
<%= render "govuk_publishing_components/components/file_upload", {
label: {
text: "Upload a file"
},
name: "file-upload-with-hint",
hint: "Your photo may be in your Pictures, Photos, Downloads or Desktop folder. Or in an app like iPhoto."
} %>