<?= $this->extend('layouts/enterprise') ?>

<?= $this->section('content') ?>

<?= view('partials/workspace_hero', [
    'workspaceCrumbPill'    => 'Messages',
    'workspaceCrumbCurrent' => 'New Group',
    'workspaceTitle'        => 'New Message Group',
    'workspaceDesc'         => 'Name the group and select members who can read and post.',
]) ?>

<div class="enterprise-data-panel">
    <div class="enterprise-data-panel__head">
        <h2 class="enterprise-data-panel__title">Group details</h2>
    </div>
    <div class="enterprise-data-panel__body">
        <?= view('Modules\Messaging\Views\groups\_form', [
            'action'    => base_url('messages/groups'),
            'group'     => $group,
            'memberIds' => [],
            'users'     => $users,
        ]) ?>
    </div>
</div>

<?= $this->endSection() ?>
