mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-27 09:05:01 +00:00
WIP Allow for comment content to be submitted to backend
This commit is contained in:
@@ -80,22 +80,23 @@
|
||||
{{ form_row(form.travelTime) }}
|
||||
{% endif %}
|
||||
|
||||
{#{%- if form.comment is defined -%}#}
|
||||
{# {{ form_row(form.comment) }}#}
|
||||
{#{% endif %}#}
|
||||
{%- if form.comment is defined -%}
|
||||
{{ 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-comment-mode="rich"></div>
|
||||
<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-comment-mode="rich"></div>
|
||||
<div id="comment-widget-2" data-fieldname="chill_activitybundle_activity[privateComment]"></div>
|
||||
</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) }}
|
||||
|
Reference in New Issue
Block a user