Revert backend to original state and load commentEditor vue app anytime CommentType form field is used

This commit is contained in:
2025-02-17 14:13:07 +01:00
parent 7d78512823
commit a6eb28175a
7 changed files with 40 additions and 62 deletions

View File

@@ -84,16 +84,6 @@
{{ form_row(form.comment) }}
{% endif %}
<div class="comment-container">
<label class="col-form-label col-sm-4" for="comment-widget-1">{{ 'comment_public'|trans }}</label>
<div id="comment-widget-1" data-fieldname="chill_activitybundle_activity[comment]"></div>
</div>
<div class="comment-container">
<label class="col-form-label col-sm-4" for="comment-widget-2">{{ 'comment_private'|trans }}</label>
<div id="comment-widget-2" data-fieldname="chill_activitybundle_activity[privateComment]"></div>
</div>
{%- if form.privateComment is defined -%}
{{ form_row(form.privateComment) }}
{% endif %}