<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\models\Media */
/* @var $form yii\bootstrap4\ActiveForm */
?>
<div class="media-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'website_id')->textInput() ?>
<?= $form->field($model, 'mime_type')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'filename')->textInput(['maxlength' => true]) ?>
<?= $form->field($model, 'created_at')->textInput() ?>
<?= $form->field($model, 'updated_at')->textInput() ?>
<?= $form->field($model, 'created_by')->textInput() ?>
<?= $form->field($model, 'updated_by')->textInput() ?>
<div class="form-group">
<?= Html::submitButton(Yii::t('website','Save'), ['class' => 'btn btn-success']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>
|