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.
40 lines
819 B
40 lines
819 B
6 years ago
|
<?php
|
||
|
/**
|
||
|
* Created by Error202
|
||
|
* Date: 10.07.2018
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* @var $this \yii\web\View
|
||
|
* @var $model \core\forms\menu\MenuItemForm
|
||
|
*/
|
||
|
|
||
|
use yii\widgets\ActiveForm;
|
||
|
use yii\helpers\Html;
|
||
|
?>
|
||
|
|
||
|
<div class="menu_item_widget">
|
||
|
|
||
|
<?php $form = ActiveForm::begin(); ?>
|
||
|
|
||
|
<?= $form->field($model, 'name')->input('text') ?>
|
||
|
|
||
|
<?= $form->field($model, 'title_attr')->input('text') ?>
|
||
|
|
||
|
<?= $form->field($model, 'module')->hiddenInput()->label(false) ?>
|
||
|
|
||
|
<?= $form->field($model, 'menu_id')->hiddenInput()->label(false) ?>
|
||
|
|
||
|
<?= $form->field($model, 'url')->input('text') ?>
|
||
|
|
||
|
<?= $form->field($model, 'url_params')->hiddenInput()->label(false) ?>
|
||
|
|
||
|
<div class="form-group">
|
||
|
<?= Html::submitButton(Yii::t('buttons', 'Add to menu'), [
|
||
|
'class' => 'btn btn-info btn-sm pull-right'
|
||
|
]) ?>
|
||
|
</div>
|
||
|
|
||
|
<?php ActiveForm::end(); ?>
|
||
|
|
||
|
</div>
|