<?php
/**
 * @link http://phe.me
 * @copyright Copyright (c) 2014 Pheme
 * @license MIT http://opensource.org/licenses/MIT
 */

use yii\helpers\Html;
use simplator\admin\Module;

/**
 * @var yii\web\View $this
 * @var simplator\admin\models\Setting $model
 */

$this->title = Module::t(
    'admin',
    'Create {modelClass}',
    [
        'modelClass' => Module::t('admin', 'Setting'),
    ]
);
$this->params['breadcrumbs'][] = ['label' => Module::t('admin', 'admin'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="setting-create">

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

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

</div>
