<?php

use yii\helpers\Html;

/* @var $this yii\web\View */
/* @var $model app\modules\subscription\models\SubscriptionProduct */
/* @var $itemModel app\modules\subscription\models\SubscriptionPrice */
/* @var $roles array [name => description] of user roles */
/* @var $subscriptionProductRoles array [name => description] of user roles related to subscription product model */

$this->title = Yii::t('app', 'Create Subscription Product');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Subscription Products'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="subscription-product-create box box-big box-light">

    <div class="box-header">
        <h3 class="box-title"><?= $this->title ?></h3>
    </div>

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

</div>
