1
0
forked from ScoDoc/ScoDoc

Fix: page creation module

This commit is contained in:
Emmanuel Viennet 2022-11-07 12:44:20 +01:00
parent 60dbc8a2da
commit 45b47d4cf2
2 changed files with 7 additions and 4 deletions

View File

@ -779,14 +779,17 @@ def module_edit(
return (
"\n".join(H)
+ tf[1]
+ f"""
+ (
f"""
<form action="module_clone" class="clone_form" method="post">
<input type="hidden" name="module_id" value="{module_id}">
<button type="submit">Créer une copie de ce module</button>
</form>
"""
if not create
else "" + html_sco_header.sco_footer()
if not create
else ""
)
+ html_sco_header.sco_footer()
)
elif tf[0] == -1:
return flask.redirect(

View File

@ -1,7 +1,7 @@
# -*- mode: python -*-
# -*- coding: utf-8 -*-
SCOVERSION = "9.4.1"
SCOVERSION = "9.4.2"
SCONAME = "ScoDoc"