37 lines
939 B
PHP
37 lines
939 B
PHP
|
<?php
|
||
|
/*
|
||
|
SPDX-License-Identifier: AGPL-3.0-only
|
||
|
SPDX-FileCopyrightText: © 2024 Millions Missing FRANCE <info@millionsmissing.fr>
|
||
|
*/
|
||
|
?>
|
||
|
|
||
|
@include('partials/flash_messages')
|
||
|
|
||
|
<!-- List of Customers Groups that should be included in this Conversation -->
|
||
|
<div class="form-group{{ $errors->has('groups') ? ' has-error' : '' }}">
|
||
|
<label for="groups" class="col-sm-2 control-label">{{ __('Groups selection') }}</label>
|
||
|
<div class="col-sm-9">
|
||
|
<div class="multi-container">
|
||
|
@foreach ( $groups as $group )
|
||
|
<div class="control-group">
|
||
|
<div class="controls">
|
||
|
<label
|
||
|
class="control-label checkbox"
|
||
|
for="group-{{ $group->id }}"
|
||
|
style="text-align: left;"
|
||
|
>
|
||
|
<input
|
||
|
type="checkbox"
|
||
|
name="groups[]"
|
||
|
id="group-{{ $group->id }}"
|
||
|
value="{{ $group->id }}"
|
||
|
>
|
||
|
{{ $group->name }}
|
||
|
</label>
|
||
|
</div>
|
||
|
</div>
|
||
|
@endforeach
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|