forked from ScoDoc/ScoDoc
Fix type: cretion formation
This commit is contained in:
parent
a5c7e8609c
commit
da4def790c
@ -162,7 +162,7 @@ def formation_edit(formation_id=None, create=False):
|
|||||||
formation: Formation = Formation.query.get_or_404(formation_id)
|
formation: Formation = Formation.query.get_or_404(formation_id)
|
||||||
form_dict = formation.to_dict()
|
form_dict = formation.to_dict()
|
||||||
form_dict["commentaire"] = form_dict["commentaire"] or ""
|
form_dict["commentaire"] = form_dict["commentaire"] or ""
|
||||||
initvalues = form_dict[0]
|
initvalues = form_dict
|
||||||
is_locked = formation.has_locked_sems(formation_id)
|
is_locked = formation.has_locked_sems(formation_id)
|
||||||
submitlabel = "Modifier les valeurs"
|
submitlabel = "Modifier les valeurs"
|
||||||
H = [
|
H = [
|
||||||
|
Loading…
Reference in New Issue
Block a user