fitness-web/backend/views/currency/update.php
2015-10-01 09:37:34 +02:00

24 lines
678 B
PHP

<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model common\models\Currency */
$this->title = Yii::t('frontend/currency', 'Update {modelClass}: ', [
'modelClass' => 'Currency',
]) . ' ' . $model->name;
$this->params['breadcrumbs'][] = ['label' => Yii::t('frontend/currency', 'Currencies'), 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id_currency]];
$this->params['breadcrumbs'][] = Yii::t('frontend/currency', 'Update');
?>
<div class="currency-update">
<h1><?= Html::encode($this->title) ?></h1>
<?= $this->render('_form', [
'model' => $model,
]) ?>
</div>