mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-27 09:05:01 +00:00
Turn component into a small vue app and add public private comment logic
This commit is contained in:
@@ -84,11 +84,11 @@
|
||||
{# {{ form_row(form.comment) }}#}
|
||||
{#{% endif %}#}
|
||||
|
||||
<div id="add-comment"></div>
|
||||
<div id="comment-widget" data-comment-mode="{{ 'both' }}"></div>
|
||||
|
||||
{%- if form.privateComment is defined -%}
|
||||
{{ form_row(form.privateComment) }}
|
||||
{% endif %}
|
||||
{#{%- if form.privateComment is defined -%}#}
|
||||
{# {{ form_row(form.privateComment) }}#}
|
||||
{#{% endif %}#}
|
||||
|
||||
{%- if form.attendee is defined -%}
|
||||
{{ form_row(form.attendee) }}
|
||||
@@ -124,6 +124,7 @@
|
||||
|
||||
{% block js %}
|
||||
{{ encore_entry_script_tags('mod_pickentity_type') }}
|
||||
{{ encore_entry_script_tags('vue_comment_editor') }}
|
||||
{% endblock %}
|
||||
|
||||
{% block css %}
|
||||
|
Reference in New Issue
Block a user