From accf51420caebd1aab5eb6929d1ffee111208f7b Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Tue, 2 Jan 2018 20:30:47 +0100 Subject: [PATCH] use the ref role instead of URLs --- form/disabling_validation.rst | 7 +++---- reference/forms/types/form.rst | 2 ++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/form/disabling_validation.rst b/form/disabling_validation.rst index e06cc4696a9..dafbd684b21 100644 --- a/form/disabling_validation.rst +++ b/form/disabling_validation.rst @@ -24,7 +24,6 @@ for example whether an uploaded file was too large or whether non-existing fields were submitted. The submission of extra form fields can be controlled with the -`allow_extra_fields config option`_ and the maximum upload file size should be -handled via your PHP and web server configuration. - -.. _`allow_extra_fields config option`: https://symfony.com/doc/current/reference/forms/types/form.html#allow-extra-fields +:ref:`allow_extra_fields config option ` and +the maximum upload file size should be handled via your PHP and web server +configuration. diff --git a/reference/forms/types/form.rst b/reference/forms/types/form.rst index 6c57283941e..0ba959d9677 100644 --- a/reference/forms/types/form.rst +++ b/reference/forms/types/form.rst @@ -54,6 +54,8 @@ Field Options .. include:: /reference/forms/types/options/action.rst.inc +.. _form-option-allow-extra-fields: + allow_extra_fields ~~~~~~~~~~~~~~~~~~