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 %}