<?php

use humhub\modules\tasks\models\forms\ConfigureContainerForm;
use humhub\widgets\form\ContentHiddenCheckbox;
use humhub\widgets\bootstrap\Button;
use humhub\widgets\form\ActiveForm;

/* @var $model ConfigureContainerForm */
?>

<div class="panel panel-default">

    <div class="panel-heading"><?= Yii::t('TasksModule.base', '<strong>Tasks</strong> module configuration') ?></div>

    <div class="panel-body">
        <?php $form = ActiveForm::begin(['id' => 'configure-form']) ?>

        <?= $form->field($model, 'contentHiddenDefault')->widget(ContentHiddenCheckbox::class, [
            'type' => ContentHiddenCheckbox::TYPE_CONTENTCONTAINER,
        ]) ?>

        <?= Button::save()->submit() ?>
        <?php ActiveForm::end() ?>
    </div>
</div>
