_form.php 667 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. use yii\helpers\Html;
  3. use yii\widgets\ActiveForm;
  4. /* @var $this yii\web\View */
  5. /* @var $model app\models\Bills */
  6. /* @var $form yii\widgets\ActiveForm */
  7. ?>
  8. <div class="bills-form">
  9. <?php $form = ActiveForm::begin(); ?>
  10. <?= $form->field($model, 'id')->textInput() ?>
  11. <?= $form->field($model, 'user_id')->textInput() ?>
  12. <?= $form->field($model, 'type')->textInput(['maxlength' => true]) ?>
  13. <?= $form->field($model, 'lot_id')->textInput(['maxlength' => true]) ?>
  14. <div class="form-group">
  15. <?= Html::submitButton(Yii::t('app', 'Save'), ['class' => 'btn btn-success']) ?>
  16. </div>
  17. <?php ActiveForm::end(); ?>
  18. </div>