Fix: page creation module
This commit is contained in:
parent
111634db99
commit
59a6ee3b3e
@ -779,14 +779,17 @@ def module_edit(
|
|||||||
return (
|
return (
|
||||||
"\n".join(H)
|
"\n".join(H)
|
||||||
+ tf[1]
|
+ tf[1]
|
||||||
+ f"""
|
+ (
|
||||||
|
f"""
|
||||||
<form action="module_clone" class="clone_form" method="post">
|
<form action="module_clone" class="clone_form" method="post">
|
||||||
<input type="hidden" name="module_id" value="{module_id}">
|
<input type="hidden" name="module_id" value="{module_id}">
|
||||||
<button type="submit">Créer une copie de ce module</button>
|
<button type="submit">Créer une copie de ce module</button>
|
||||||
</form>
|
</form>
|
||||||
"""
|
"""
|
||||||
if not create
|
if not create
|
||||||
else "" + html_sco_header.sco_footer()
|
else ""
|
||||||
|
)
|
||||||
|
+ html_sco_header.sco_footer()
|
||||||
)
|
)
|
||||||
elif tf[0] == -1:
|
elif tf[0] == -1:
|
||||||
return flask.redirect(
|
return flask.redirect(
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
SCOVERSION = "9.4.1"
|
SCOVERSION = "9.4.2"
|
||||||
|
|
||||||
SCONAME = "ScoDoc"
|
SCONAME = "ScoDoc"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user