MDL-55417 forms: Change iscancel property to issecondary for submit buttons
[moodle.git] / theme / noname / templates / core_form / element-submit.mustache
index 2f7c9a7..25f53e7 100644 (file)
@@ -2,8 +2,8 @@
     {{$element}}
         <input type="submit" {{#element.frozen}}readonly{{/element.frozen}}
                 class="btn
-                    {{^element.iscancel}}btn-primary{{/element.iscancel}}
-                    {{#element.iscancel}}btn-secondary{{/element.iscancel}}
+                    {{^element.secondary}}btn-primary{{/element.secondary}}
+                    {{#element.secondary}}btn-secondary{{/element.secondary}}
                     {{#error}} btn-danger {{/error}}"
                 name="{{element.name}}"
                 id="{{element.id}}"
@@ -13,4 +13,4 @@
                 value="{{element.value}}"
                 {{{element.attributes}}} >
     {{/element}}
-{{/ core_form/element-template }}
\ No newline at end of file
+{{/ core_form/element-template }}