You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
847 B

  1. <?php
  2. use yii\helpers\Html;
  3. use yii\widgets\ActiveForm;
  4. /* @var $this yii\web\View */
  5. /* @var $model common\models\ars\Supplier */
  6. /* @var $form yii\widgets\ActiveForm */
  7. ?>
  8. <div class="supplier-form">
  9. <?php $form = ActiveForm::begin(); ?>
  10. <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
  11. <?= $form->field($model, 'full_name')->textInput(['maxlength' => true]) ?>
  12. <?= $form->field($model, 'phone')->textInput(['maxlength' => true]) ?>
  13. <?= $form->field($model, 'address')->textInput(['maxlength' => true]) ?>
  14. <?= $form->field($model, 'is_delete')->textInput() ?>
  15. <div class="form-group">
  16. <?= Html::submitButton('保存', ['class' => 'btn btn-success']) ?>
  17. <?= Html::a('返回', ['index'], ['class' => 'btn btn-info']) ?>
  18. </div>
  19. <?php ActiveForm::end(); ?>
  20. </div>