mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 05:25:08 +02:00
Merge branch 'MDL-73642_MOODLE_401_STABLE' of https://github.com/tasosb/moodle into MOODLE_401_STABLE
This commit is contained in:
commit
c9b7b94ed4
@ -127,6 +127,9 @@ class mod_assign_mod_form extends moodleform_mod {
|
||||
$name = get_string('submissiondrafts', 'assign');
|
||||
$mform->addElement('selectyesno', 'submissiondrafts', $name);
|
||||
$mform->addHelpButton('submissiondrafts', 'submissiondrafts', 'assign');
|
||||
if ($assignment->has_submissions_or_grades()) {
|
||||
$mform->freeze('submissiondrafts');
|
||||
}
|
||||
|
||||
$name = get_string('requiresubmissionstatement', 'assign');
|
||||
$mform->addElement('selectyesno', 'requiresubmissionstatement', $name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user