Skip to content

Commit 775bab6

Browse files
authored
Update File.rst
Replace mimeTypes parameters by "extension" and "extensions" in extensionMessage option
1 parent 48aadc5 commit 775bab6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

reference/constraints/File.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,12 @@ Parameter Description
314314
The message displayed if the extension of the file is not a valid extension
315315
per the `extensions`_ option.
316316

317-
.. include:: /reference/constraints/_parameters-mime-types-message-option.rst.inc
317+
==================== ==============================================================
318+
Parameter Description
319+
==================== ==============================================================
320+
``{{ extension }}`` The extension of the given file
321+
``{{ extensions }}`` The list of allowed file extensions
322+
==================== ==============================================================
318323

319324
``mimeTypesMessage``
320325
~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)