From 775bab6722a5e7c1f2a58657b5c7ea18f0341259 Mon Sep 17 00:00:00 2001 From: Corentin <47939924+corentingd@users.noreply.github.com> Date: Thu, 19 Dec 2024 15:31:38 +0100 Subject: [PATCH] Update File.rst Replace mimeTypes parameters by "extension" and "extensions" in extensionMessage option --- reference/constraints/File.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/reference/constraints/File.rst b/reference/constraints/File.rst index 3930d898c7e..fb9a61b4a29 100644 --- a/reference/constraints/File.rst +++ b/reference/constraints/File.rst @@ -314,7 +314,12 @@ Parameter Description The message displayed if the extension of the file is not a valid extension per the `extensions`_ option. -.. include:: /reference/constraints/_parameters-mime-types-message-option.rst.inc +==================== ============================================================== +Parameter Description +==================== ============================================================== +``{{ extension }}`` The extension of the given file +``{{ extensions }}`` The list of allowed file extensions +==================== ============================================================== ``mimeTypesMessage`` ~~~~~~~~~~~~~~~~~~~~