<?php

use yii\helpers\Html;
//use kartik\detail\DetailView;
use kartik\datecontrol\DateControl;
use yii\widgets\DetailView;
use yii\helpers\Url;

/**
 * @var yii\web\View $this
 * @var common\models\JenisAnggota $model
 */

$this->title = Yii::t('app','Jurusan') ;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Setting'), 'url' => ['#']];
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Member'), 'url' => Url::to(['/setting/member'])];

$this->params['breadcrumbs'][] = $this->title;
?>
<div class="master-jurusan-view">
    <p> <?= Html::a(Yii::t('app', 'Back'), ['index'], ['class' => 'btn btn-warning']) ?>
        <?= Html::a(Yii::t('app', 'Update'), ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
        <?= Html::a(Yii::t('app', 'Remove'), ['delete', 'id' => $model->id], [
            'class' => 'btn btn-danger',
            'data' => [
                'confirm' => Yii::t('yii','Are you sure you want to delete this item?'),
                'method' => 'post',
            ],
        ]) ?>
    </p>


    <?= DetailView::widget([
            'model' => $model,
            'attributes' => [
                 [
                    'label'=>'Fakultas',
                    'attribute'=>'idFakultas.Nama',
                    //'value'=>'idFakultas.Nama',
                    'contentOptions'=>['style'=>'width: 150px;'],
                ],
                'Nama',
            ],
    ]) ?>


</div>
