_cat.php 408 B

123456789101112131415161718192021222324
  1. <?php
  2. use yii\helpers\Html;
  3. use yii\widgets\ActiveForm;
  4. use yii\web\View;
  5. ?>
  6. <div class="cat-form">
  7. <?php $form = ActiveForm::begin(); ?>
  8. <div id="tabs-1">
  9. <?= $form->field($model, 'cat')->textInput(['maxlength' => true]) ?>
  10. </div>
  11. <div class="form-group">
  12. <?= Html::submitButton('Save', ['class' => 'btn btn-success']) ?>
  13. </div>
  14. <?php ActiveForm::end(); ?>
  15. </div>