|
|
@ -51,8 +51,8 @@ class mod_attendance_mod_form extends moodleform_mod { |
|
|
|
$mform->addRule('name', null, 'required', null, 'client'); |
|
|
|
$mform->setDefault('name', get_string('modulename', 'attendance')); |
|
|
|
|
|
|
|
$mform->addElement('modgrade', 'grade', get_string('grade')); |
|
|
|
$mform->setDefault('grade', 100); |
|
|
|
// Grade settings. |
|
|
|
$this->standard_grading_coursemodule_elements(); |
|
|
|
|
|
|
|
$this->standard_coursemodule_elements(true); |
|
|
|
$this->add_action_buttons(); |
|
|
|