MDL-65069 mod_forum: Remove unused code and additional dev docs.
[moodle.git] / lib / form / templates / element-submit.mustache
index 5ca3e53..cd8b8fa 100644 (file)
@@ -3,13 +3,13 @@
         {{^element.frozen}}
             <input type="submit"
                 class="btn
-                    {{^element.customclass}}
+                    {{^element.customclassoverride}}
                         {{^element.secondary}}btn-primary{{/element.secondary}}
                         {{#element.secondary}}btn-secondary{{/element.secondary}}
-                    {{/element.customclass}}
+                    {{/element.customclassoverride}}
                     {{#error}} btn-danger {{/error}}
                     {{element.extraclasses}}
-                    {{#element.customclass}}{{element.customclass}}{{/element.customclass}}"
+                    {{#element.customclassoverride}}{{element.customclassoverride}}{{/element.customclassoverride}}"
                 name="{{element.name}}"
                 id="{{element.id}}"
                 {{#error}}