MDL-59369 enrol: Cleanup enrol pages
authorJun Pataleta <jun@moodle.com>
Thu, 13 Jul 2017 02:32:20 +0000 (10:32 +0800)
committerJun Pataleta <jun@moodle.com>
Wed, 26 Jul 2017 01:44:02 +0000 (09:44 +0800)
commitea758b85e40c3a9d1fadb29f3a74a41b0005f142
tree8411da2ee54efa50fd1067dcb680817998dc86e1
parent5719f2ca50dac8f35c7598f7ee9b4e0baa658518
MDL-59369 enrol: Cleanup enrol pages

* Cleanup edit enrolment form.
* Improve edit enrol form validation error message.
* Add modal custom data flag to edit enrolment form to hide action
  buttons if loaded via fragment.
* Point return URLs of edit enrolment and user unenrol pages back to
  participants page.
enrol/editenrolment.php
enrol/editenrolment_form.php
enrol/unenroluser.php
lang/en/enrol.php