You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
432 B
22 lines
432 B
<?php |
|
/** |
|
* Created by Error202 |
|
* Date: 24.08.2018 |
|
*/ |
|
|
|
use core\forms\menu\MenuForm; |
|
use yii\web\View; |
|
use yii\widgets\ActiveForm; |
|
|
|
/** |
|
* @var $this View |
|
* @var $form ActiveForm |
|
* @var $model MenuForm |
|
* @var $language string |
|
*/ |
|
|
|
$postfix = $language == Yii::$app->params['defaultLanguage'] ? '' : '_' . $language; |
|
?> |
|
|
|
<div class="mt-2"></div> |
|
<?= $form->field($model, 'name' . $postfix)->textInput(['maxlength' => true]) ?>
|
|
|