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) { %}{% } %}