mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-27 01:53:49 +00:00
activity: avoid adding persons|Users|Thirdparty if not allowed
This commit is contained in:
@@ -34,16 +34,18 @@
|
||||
{{ form_row(edit_form.reasons) }}
|
||||
{% endif %}
|
||||
|
||||
<h2 class="chill-red">{{ 'Concerned groups'|trans }}</h2>
|
||||
{%- if edit_form.persons is defined or edit_form.thirdParties is defined or edit_form.users is defined -%}
|
||||
<h2 class="chill-red">{{ 'Concerned groups'|trans }}</h2>
|
||||
|
||||
{%- if edit_form.persons is defined -%}
|
||||
{{ form_widget(edit_form.persons) }}
|
||||
{% endif %}
|
||||
{%- if edit_form.thirdParties is defined -%}
|
||||
{{ form_widget(edit_form.thirdParties) }}
|
||||
{% endif %}
|
||||
{%- if edit_form.users is defined -%}
|
||||
{{ form_widget(edit_form.users) }}
|
||||
{%- if edit_form.persons is defined -%}
|
||||
{{ form_widget(edit_form.persons) }}
|
||||
{% endif %}
|
||||
{%- if edit_form.thirdParties is defined -%}
|
||||
{{ form_widget(edit_form.thirdParties) }}
|
||||
{% endif %}
|
||||
{%- if edit_form.users is defined -%}
|
||||
{{ form_widget(edit_form.users) }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
<div id="add-persons"></div>
|
||||
|
Reference in New Issue
Block a user