diff --git a/app/scodoc/sco_edit_ue.py b/app/scodoc/sco_edit_ue.py
index 9d8df2d4..0b1ea30b 100644
--- a/app/scodoc/sco_edit_ue.py
+++ b/app/scodoc/sco_edit_ue.py
@@ -1514,7 +1514,7 @@ def edit_ue_set_code_apogee(id=None, value=None):
ue_id = id
value = value.strip("-_ \t")[:APO_CODE_STR_LEN] # tronque
- log("edit_ue_set_code_apogee: ue_id=%s code_apogee=%s" % (ue_id, value))
+ log(f"edit_ue_set_code_apogee: ue_id={ue_id} code_apogee={value}")
ues = ue_list(args={"ue_id": ue_id})
if not ues:
diff --git a/app/templates/pn/form_ues.j2 b/app/templates/pn/form_ues.j2
index 437d4da2..3581cd7e 100644
--- a/app/templates/pn/form_ues.j2
+++ b/app/templates/pn/form_ues.j2
@@ -52,10 +52,12 @@
else 'aucun'|safe
}} ECTS
{%- endif -%}
- {%- if ue.code_apogee -%}
- {{ virg() }} Apo {{ue.code_apogee}}
- {%- endif -%}
- )
+ {{ virg() }} Apo:
+
+ {{ue.code_apogee or ''
+ }})