diff --git a/src/base/jstemplates/place-detail-field-types.html b/src/base/jstemplates/place-detail-field-types.html index 42493de606..111d023d9c 100644 --- a/src/base/jstemplates/place-detail-field-types.html +++ b/src/base/jstemplates/place-detail-field-types.html @@ -1,24 +1,24 @@ {{#is type "datetime"}} -
{{nlToBr content}}
+{{nlToBr existingContent}}
{{/is}} {{#is type "text"}} -{{nlToBr content}}
+{{nlToBr existingContent}}
{{/is}} {{#is type "textarea"}} -{{{nlToBr content}}}
+{{{nlToBr existingContent}}}
{{/is}} {{#is type "richTextarea"}} - {{{content}}} + {{{existingContent}}} {{/is}} {{#is type "radio_big_buttons"}}- {{#if content.selected}} - {{ content.selectedLabel }} + {{#if existingContent.selected}} + {{ existingContent.selectedLabel }} {{else}} - {{ content.unselectedLabel }} + {{ existingContent.unselectedLabel }} {{/if}}
{{/is}} {{#is type "dropdown"}} - {{#each content}} + {{#each existingContent}}{{#if selected}} {{nlToBr label}} diff --git a/src/base/jstemplates/place-form-field-types.html b/src/base/jstemplates/place-form-field-types.html index c7a2fdcdff..559cfefaef 100644 --- a/src/base/jstemplates/place-form-field-types.html +++ b/src/base/jstemplates/place-form-field-types.html @@ -12,7 +12,7 @@ type="text" id="geocode-address-field" class="geocode-address-field" - value={{nlToBr content}}> + value={{nlToBr existingContent}}> {{/is}} @@ -23,7 +23,7 @@ type="text" {{#if autocomplete}}class="is-autocomplete"{{/if}} {{^optional}}required{{/optional}} - value={{nlToBr content}}> + value={{nlToBr existingContent}}> {{/is}} {{#is type "text"}} @@ -47,12 +47,12 @@ {{/is}} {{#is type "richTextarea"}} - +