<?php echo DetailView::widget(['model' => $model, 'attributes' => ['id', 'username']]); ?> <table class="table table-striped"> <tr> <th>Modules</th> <th>Controllers</th> <th>Actions</th> <th>Auth</th> </tr> <?php foreach ($routes as $row) { ?> <tr > <td><?php echo $row['module']; ?> </td > <td><?php echo $row['controller']; ?> </td > <td><?php echo $row['action']; ?> </td > <td><?php echo Html::checkbox('auth[]', $row['auth']); ?>
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model frontend\models\Accesos */ ?> <div class="accesos-col3"> <?php echo DetailView::widget(['model' => $model, 'attributes' => ['id', 'id_persona', 'ing_id_vehiculo', 'ing_fecha', 'ing_hora', 'ing_id_porton', 'ing_id_user', 'egr_id_vehiculo', 'egr_fecha', 'egr_hora', 'egr_id_porton', 'egr_id_user', 'id_concepto', 'motivo', 'cant_acomp', 'created_by', 'created_at', 'updated_by', 'updated_at', 'estado', 'motivo_baja']]); ?> </div>
use kartik\grid\GridView; //use yii\grid\GridView; use yii\bootstrap\ActiveForm; use yii\widgets\Pjax; /* @var $this yii\web\View */ /* @var $searchModel frontend\models\AboutUsSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'About Us'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="about-us-index"> <h1><?php echo Html::encode($this->title); ?> </h1> <?php // echo $this->render('_search', ['model' => $searchModel]); ?> <?php echo DetailView::widget(['model' => $model, 'attributes' => ['subsection']]); ?> <?php Pjax::end(); ?> </div>
<?php /** * @author Frank Gehann <*****@*****.**> * @link https://github.com/Tak0r/TwitterContestScore * @license Beerware * @package Views */ use yii\helpers\Html; ?> <h3><?php echo Html::a(Html::encode($model->name), ['contest/view', 'id' => $model->id]); ?> </h3> <?php echo DetailView::widget(['model' => $model, 'attributes' => ['trigger', 'year', 'active:boolean', 'last_parse']]);