MDL-65069 mod_forum: Remove unused code and additional dev docs.
[moodle.git] / lib / form / templates / element-submit-inline.mustache
index d576e57..8c2c047 100644 (file)
@@ -3,12 +3,12 @@
         {{^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.customclass}}{{element.customclass}}{{/element.customclass}}"
+                    {{#element.customclassoverride}}{{element.customclassoverride}}{{/element.customclassoverride}}"
                 name="{{element.name}}"
                 id="{{element.id}}"
                 value="{{element.value}}"