From 78ce5484aff76273a43ba0eac83d03bb21d7cf39 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Thu, 7 May 2020 17:11:15 +0200 Subject: [PATCH] Update bootstrap4.rst See https://github.com/symfony/symfony-docs/issues/13648 I splitted the "Labels and Errors" chapter into two: "Error Messages" and "Checkboxes and Radios" If you merge this, I'll also add a caution box to https://symfony.com/doc/4.4/form/form_customization.html#form-label-form-view-label-variables and link to the new "Error Messages" heading here. --- form/bootstrap4.rst | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/form/bootstrap4.rst b/form/bootstrap4.rst index 57d6e944b8e..5b0acbf2aaf 100644 --- a/form/bootstrap4.rst +++ b/form/bootstrap4.rst @@ -77,6 +77,21 @@ If you prefer to apply the Bootstrap styles on a form to form basis, include the {{ form(form) }} {% endblock %} +Error Messages +-------------- + +Form errors are rendered **inside** the ``