PHP Classes

File: views/backend/menu-item/_view.php

Recommend this page to a friend!
  Classes of Gabriel Alejandro López López   Yii2 Website Module   views/backend/menu-item/_view.php   Download  
File: views/backend/menu-item/_view.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Yii2 Website Module
Add a content page management system to a site
Author: By
Last change:
Date: 2 months ago
Size: 568 bytes
 

Contents

Class file image Download
<?php

use yii\helpers\Html;

?>

<li id="<?= $model->id ?>" class="handle">
    <h2><?= Html::a($model->label, \daxslab\website\components\Lookup::getLink($model, 'update')) ?></h2>
    <p>
        <strong><?= Yii::t('website','URL') ?>: </strong> <?= Html::a($model->url, $model->url) ?><br/>
        <?= Html::a(Yii::t('website','[Delete]'), \daxslab\website\components\Lookup::getLink($model, 'delete'), [
           
'data-method' => 'post',
           
'data-confirm' => Yii::t('website','Are you sure you want to delete this item?')
        ])
?>
</p>
</li>