<?php

use yii\helpers\Html;

$this->title = Yii::t('app', 'Update Email Template') . ': ' . $model->template_name;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Email Templates'), 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->template_name, 'url' => ['view', 'id' => $model->id]];
$this->params['breadcrumbs'][] = Yii::t('app', 'Update');
?>

<div class="email-templates-update middle-page-container">

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

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

</div>
