diff --git a/sco_pvjury.py b/sco_pvjury.py index b28a45ff..148ad1fb 100644 --- a/sco_pvjury.py +++ b/sco_pvjury.py @@ -675,10 +675,6 @@ def formsemestre_pvjury_pdf( tf[2]["showTitle"] = True else: tf[2]["showTitle"] = False - if tf[2]["with_paragraph_nom"]: - tf[2]["with_paragraph_nom"] = True - else: - tf[2]["with_paragraph_nom"] = False if tf[2]["anonymous"]: tf[2]["anonymous"] = True else: @@ -773,12 +769,10 @@ def descrform_pvjury(context, sem): ( "with_paragraph_nom", { - "input_type": "checkbox", + "input_type": "boolcheckbox", "title": "Avec date naissance et code", "explanation": "ajoute informations sous le nom", - "default": "1", - "labels": [""], - "allowed_values": ("1",), + "default": True, }, ), (