From e816b872ad1a3fa6f41811578e3d15f8cfeac4d5 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Thu, 13 Oct 2016 17:28:56 +0100 Subject: [PATCH] MDL-56440 theme_boost: fix logic errors in templates --- .../core_form/element-button-inline.mustache | 2 +- .../core_form/element-radio-inline.mustache | 15 ++++++++++++++- .../templates/core_form/element-radio.mustache | 15 ++++++++++++++- 3 files changed, 29 insertions(+), 3 deletions(-) diff --git a/theme/boost/templates/core_form/element-button-inline.mustache b/theme/boost/templates/core_form/element-button-inline.mustache index e2f15185763..6deac3a1395 100644 --- a/theme/boost/templates/core_form/element-button-inline.mustache +++ b/theme/boost/templates/core_form/element-button-inline.mustache @@ -12,6 +12,6 @@ > {{{element.value}}} - {{^element.frozen}} + {{/element.frozen}} {{/element}} {{/ core_form/element-template-inline }} diff --git a/theme/boost/templates/core_form/element-radio-inline.mustache b/theme/boost/templates/core_form/element-radio-inline.mustache index f1feba5e4e9..fd8ab56de0c 100644 --- a/theme/boost/templates/core_form/element-radio-inline.mustache +++ b/theme/boost/templates/core_form/element-radio-inline.mustache @@ -1,8 +1,21 @@ +{{! +@template theme_boost/core_form/element-radio-online + + Example context (json): + { + "element": { + "id": "test-radio", + "name": "Test radio button", + "size": "10" + } + } + +}}