From 0f3d3bc5392ad942596f29e68be8454ba3fff636 Mon Sep 17 00:00:00 2001 From: Gonzalo Alonso Date: Wed, 22 Aug 2018 12:10:31 -0300 Subject: [PATCH] {% if label is not same as(false) and required %} {% if label is not same as(false) and required %} --- form/form_customization.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/form/form_customization.rst b/form/form_customization.rst index e1c40aec4c9..9769028544c 100644 --- a/form/form_customization.rst +++ b/form/form_customization.rst @@ -755,7 +755,7 @@ form, modify the ``use`` tag and add the following: {% block form_label %} {{ block('base_form_label') }} - {% if required %} + {% if label is not same as(false) and required %} * {% endif %} {% endblock %} @@ -770,7 +770,7 @@ the following: {% block form_label %} {{ parent() }} - {% if required %} + {% if label is not same as(false) and required %} * {% endif %} {% endblock %}