From 57815fea54f1e96bff16d9d258ee208acb4ec37c Mon Sep 17 00:00:00 2001 From: Johannes Raggam Date: Thu, 14 Mar 2024 23:00:48 +0100 Subject: [PATCH] file input: Show accepted media types. --- plone/formwidget/namedfile/file_input.pt | 8 ++++++++ plone/formwidget/namedfile/image_input.pt | 8 ++++++++ plone/formwidget/namedfile/widget.rst | 4 ++++ 3 files changed, 20 insertions(+) diff --git a/plone/formwidget/namedfile/file_input.pt b/plone/formwidget/namedfile/file_input.pt index 6bfb891..fc07c2c 100644 --- a/plone/formwidget/namedfile/file_input.pt +++ b/plone/formwidget/namedfile/file_input.pt @@ -140,6 +140,14 @@ maxlength view/maxlength; " /> +
+ Allowed types: + ${view/accept}. +
+