Skip to content

Commit c8938ad

Browse files
authored
FIO-10217 fixed the display of interpolated values in BuilderMode (#129)
1 parent 4c45e49 commit c8938ad

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/templates/bootstrap4/html/form.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
{% ctx.attrs.forEach(function(attr) { %}
33
{{attr.attr}}="{{attr.value}}"
44
{% }) %}
5-
>{{ctx.t(ctx.content)}}{% if (!ctx.singleTags || ctx.singleTags.indexOf(ctx.tag) === -1) { %}</{{ctx.tag}}>{% } %}
5+
>{{ ctx.builder ? ctx.content : ctx.t(ctx.content) }}{% if (!ctx.singleTags || ctx.singleTags.indexOf(ctx.tag) === -1) { %}</{{ctx.tag}}>{% } %}

src/templates/bootstrap5/html/form.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
{% ctx.attrs.forEach(function(attr) { %}
33
{{attr.attr}}="{{attr.value}}"
44
{% }) %}
5-
>{{ctx.t(ctx.content)}}{% if (!ctx.singleTags || ctx.singleTags.indexOf(ctx.tag) === -1) { %}</{{ctx.tag}}>{% } %}
5+
>{{ ctx.builder ? ctx.content : ctx.t(ctx.content) }}{% if (!ctx.singleTags || ctx.singleTags.indexOf(ctx.tag) === -1) { %}</{{ctx.tag}}>{% } %}

0 commit comments

Comments
 (0)