From c6e1d78a2ee4b27f0bc3dea87873122511ca31ed Mon Sep 17 00:00:00 2001 From: Johannes Raggam Date: Thu, 14 Mar 2024 23:02:39 +0100 Subject: [PATCH] file input: Show accepted media types. --- plone/app/z3cform/templates/file_input.pt | 7 +++++++ plone/app/z3cform/templates/image_input.pt | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/plone/app/z3cform/templates/file_input.pt b/plone/app/z3cform/templates/file_input.pt index 5df43142..6a4fa653 100644 --- a/plone/app/z3cform/templates/file_input.pt +++ b/plone/app/z3cform/templates/file_input.pt @@ -98,6 +98,13 @@ size="${view/size}" type="file" /> +
+ Allowed types: + ${view/accept}. +