diff --git a/mod/lesson/mod.html b/mod/lesson/mod.html index f1511b73c6e..d8e405f7e04 100644 --- a/mod/lesson/mod.html +++ b/mod/lesson/mod.html @@ -97,6 +97,10 @@ if ($form->mode == "add") { if (!isset($form->lessondefault)) { $form->lessondefault = 0; } + if (!isset($form->modattempts)) { + $form->modattempts = 0; + } + $form->deleteattempts = ""; @@ -126,6 +130,17 @@ if ($form->mode == "add") { + +

:

+ + modattempts, ""); + helpbutton("modattempts", get_string("modattempts", "lesson"), "lesson"); + ?> + + +

: