diff --git a/src/templates/bootstrap4/file/form.ejs b/src/templates/bootstrap4/file/form.ejs index b0bf2d1f8..81c106e9b 100644 --- a/src/templates/bootstrap4/file/form.ejs +++ b/src/templates/bootstrap4/file/form.ejs @@ -174,7 +174,6 @@ {{ctx.t('browse')}} {{ctx.t('browseToAttachFileFor') + ' ' + ctx.t(ctx.component.label, { _userInput: true }) + '. ' + - (ctx.component.description ? ctx.t(ctx.component.description, { _userInput: true }) + '. ' : '') + ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? ctx.t('anyFileTypesAllowed') : ctx.t('allowedFileTypes') + ': ' + ctx.component.filePattern)}} diff --git a/src/templates/bootstrap5/file/form.ejs b/src/templates/bootstrap5/file/form.ejs index eb2f05937..636e9bf4a 100644 --- a/src/templates/bootstrap5/file/form.ejs +++ b/src/templates/bootstrap5/file/form.ejs @@ -188,7 +188,6 @@ {% } %} {{ctx.t('browseToAttachFileFor') + ' ' + ctx.t(ctx.component.label, { _userInput: true }) + '. ' + - (ctx.component.description ? ctx.t(ctx.component.description, { _userInput: true }) + '. ' : '') + ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? ctx.t('anyFileTypesAllowed') : ctx.t('allowedFileTypes') + ': ' + ctx.component.filePattern)}}