<?php

use humhub\modules\suggestedfollowing\models\ModuleSettings;
use humhub\widgets\form\ActiveForm;
use humhub\widgets\bootstrap\Button;

/**
 * @var \yii\web\View $this
 * @var ModuleSettings $model
 */
?>

<div class="panel panel-default">

    <div class="panel-heading">
        <?= Yii::t('SuggestedfollowingModule.base', '<strong>Suggested Following</strong> - Settings') ?>
    </div>

    <div class="panel-body">

        <?php $form = ActiveForm::begin(['id' => 'suggested-following-settings-form']) ?>

        <?= $form->field($model, 'maxWidgetSuggestions')->textInput(['type' => 'number']) ?>

        <?= Button::save()->submit() ?>

        <?php ActiveForm::end() ?>

    </div>

</div>
