From c5ffb40ee404edc92cbaa7ddaf06f403f396364b Mon Sep 17 00:00:00 2001 From: Hanna Kurban Date: Fri, 30 May 2025 15:47:57 +0300 Subject: [PATCH] FIO-10217 fixed the display of interpolated values in BuilderMode --- src/templates/bootstrap4/html/form.ejs | 2 +- src/templates/bootstrap5/html/form.ejs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/templates/bootstrap4/html/form.ejs b/src/templates/bootstrap4/html/form.ejs index c62acb7ec..8d5d96cee 100644 --- a/src/templates/bootstrap4/html/form.ejs +++ b/src/templates/bootstrap4/html/form.ejs @@ -2,4 +2,4 @@ {% ctx.attrs.forEach(function(attr) { %} {{attr.attr}}="{{attr.value}}" {% }) %} ->{{ctx.t(ctx.content)}}{% if (!ctx.singleTags || ctx.singleTags.indexOf(ctx.tag) === -1) { %}{% } %} +>{{ ctx.builder ? ctx.content : ctx.t(ctx.content) }}{% if (!ctx.singleTags || ctx.singleTags.indexOf(ctx.tag) === -1) { %}{% } %} diff --git a/src/templates/bootstrap5/html/form.ejs b/src/templates/bootstrap5/html/form.ejs index c62acb7ec..8d5d96cee 100644 --- a/src/templates/bootstrap5/html/form.ejs +++ b/src/templates/bootstrap5/html/form.ejs @@ -2,4 +2,4 @@ {% ctx.attrs.forEach(function(attr) { %} {{attr.attr}}="{{attr.value}}" {% }) %} ->{{ctx.t(ctx.content)}}{% if (!ctx.singleTags || ctx.singleTags.indexOf(ctx.tag) === -1) { %}{% } %} +>{{ ctx.builder ? ctx.content : ctx.t(ctx.content) }}{% if (!ctx.singleTags || ctx.singleTags.indexOf(ctx.tag) === -1) { %}{% } %}