see: https://forge.extranet.logilab.fr/cubicweb/cubicweb/-/blob/branch/3.37/cubicweb/web/views/formrenderers.py#L121