Hello Moodlers,
I want to add a new class on my submit button of the registration form.
I took reference from various places and changed the following lines in login\signup_form.php:
$this->add_action_buttons(true, "My submit with my class", ['class' => 'myyclass']);
Also used the $attribute logic from: https://docs.moodle.org/dev/lib/formslib.php_Form_Definition#text, but it gave no effect.
Moodle version: 3.8.3
Theme: Klass
Thanks