diff --git a/frontend/client/res/templates/admin/layouts/rows.tpl b/frontend/client/res/templates/admin/layouts/rows.tpl
index ca2eab2107..f7c75a8fbe 100644
--- a/frontend/client/res/templates/admin/layouts/rows.tpl
+++ b/frontend/client/res/templates/admin/layouts/rows.tpl
@@ -70,7 +70,7 @@
{{#each layout}}
- -
+
-
diff --git a/frontend/client/res/templates/fields/array/edit.tpl b/frontend/client/res/templates/fields/array/edit.tpl
index 71d056eeb5..ed4ab053a7 100644
--- a/frontend/client/res/templates/fields/array/edit.tpl
+++ b/frontend/client/res/templates/fields/array/edit.tpl
@@ -2,7 +2,7 @@
{{#each selected}}
{{#if ../translatedOptions}}
- {{attr ../../translatedOptions this}}
+ {{prop ../../translatedOptions this}}
{{else}}
{{this}}
{{/if}}
diff --git a/frontend/client/res/templates/modals/array-field-add.tpl b/frontend/client/res/templates/modals/array-field-add.tpl
index 94e72594d8..57b29f80ac 100644
--- a/frontend/client/res/templates/modals/array-field-add.tpl
+++ b/frontend/client/res/templates/modals/array-field-add.tpl
@@ -4,7 +4,7 @@
{{#each optionList}}
-
- {{#if ../translatedOptions}}{{attr ../../translatedOptions this}}{{else}}{{this}}{{/if}}
+ {{#if ../translatedOptions}}{{prop ../../translatedOptions this}}{{else}}{{this}}{{/if}}
{{/each}}
diff --git a/frontend/client/res/templates/preferences/fields/smtp-email-address/detail.tpl b/frontend/client/res/templates/preferences/fields/smtp-email-address/detail.tpl
index 2a9ed0e6c8..d3f7d0cf93 100644
--- a/frontend/client/res/templates/preferences/fields/smtp-email-address/detail.tpl
+++ b/frontend/client/res/templates/preferences/fields/smtp-email-address/detail.tpl
@@ -3,6 +3,6 @@
{{else}}
{{translate 'userHasNoEmailAddress' category='messages' scope='Admin'}}
{{#if isAdmin}}
- {{translate 'Edit'}}
+ {{translate 'Edit'}}
{{/if}}
{{/if}}
diff --git a/frontend/client/res/templates/record/merge.tpl b/frontend/client/res/templates/record/merge.tpl
index 78b818c1d5..5530d0d61a 100644
--- a/frontend/client/res/templates/record/merge.tpl
+++ b/frontend/client/res/templates/record/merge.tpl
@@ -6,10 +6,10 @@
|
{{#each models}}
-
+
|
- {{get this 'name'}}
+ {{get this 'name'}}
|
{{/each}}
diff --git a/frontend/client/res/templates/role/table.tpl b/frontend/client/res/templates/role/table.tpl
index b9e74cce67..534d5bc8a1 100644
--- a/frontend/client/res/templates/role/table.tpl
+++ b/frontend/client/res/templates/role/table.tpl
@@ -14,7 +14,7 @@
{{#if ../editMode}}
{{else}}
- {{translateOption access scope='Role' field='accessList'}}
+ {{translateOption access scope='Role' field='accessList'}}
{{/if}}
@@ -26,7 +26,7 @@
{{else}}
{{#ifNotEqual ../../access 'not-set'}}
- {{translateOption ../level field='levelList' scope='Role'}}
+ {{translateOption ../level field='levelList' scope='Role'}}
{{/ifNotEqual}}
{{/if}}
diff --git a/frontend/client/src/view-helper.js b/frontend/client/src/view-helper.js
index 4b202913fc..d29ce81896 100644
--- a/frontend/client/src/view-helper.js
+++ b/frontend/client/src/view-helper.js
@@ -46,7 +46,7 @@
return new Handlebars.SafeString("
");
});
- Handlebars.registerHelper('attr', function (object, name) {
+ Handlebars.registerHelper('prop', function (object, name) {
if (name in object) {
return object[name];
}