PHP Classes

File: views/backend/media/update.php

Recommend this page to a friend!
  Classes of Gabriel Alejandro López López   Yii2 Website Module   views/backend/media/update.php   Download  
File: views/backend/media/update.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Yii2 Website Module
Add a content page management system to a site
Author: By
Last change:
Date: 1 month ago
Size: 510 bytes
 

Contents

Class file image Download
<?php

use yii\helpers\Html;

/* @var $this yii\web\View */
/* @var $model backend\models\Media */

$this->title = Yii::t('website','Update Media: ' . $model->id, [
   
'nameAttribute' => '' . $model->id,
]);
$this->params['breadcrumbs'][] = ['label' => Yii::t('website','Media'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $model->filename;
?>
<div class="media-update">

    <h1><?= Html::encode($this->title) ?></h1>

    <?= $this->render('_form', [
       
'model' => $model,
    ])
?>

</div>