1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- use yii\helpers\Html;
- use yii\widgets\ActiveForm;
- /** @var yii\web\View $this */
- /** @var app\models\ReportTopic $model */
- /** @var yii\widgets\ActiveForm $form */
- ?>
- <div class="report-topic-form">
- <?php $form = ActiveForm::begin(); ?>
- <?= $form->field($model, 'parent_id')->textInput() ?>
- <?= $form->field($model, 'date')->textInput() ?>
- <?= $form->field($model, 'title')->textarea(['rows' => 6]) ?>
- <?= $form->field($model, 'body')->textarea(['rows' => 6]) ?>
- <?= $form->field($model, 'folder')->textInput(['maxlength' => true]) ?>
- <?= $form->field($model, 'sort')->textInput() ?>
- <?= $form->field($model, 'active')->textInput() ?>
- <div class="form-group">
- <?= Html::submitButton('Save', ['class' => 'btn btn-success']) ?>
- </div>
- <?php ActiveForm::end(); ?>
- </div>
|