Created
December 5, 2019 08:33
-
-
Save DeaVenditama/6db1a2296fac8408dcc536c1e01c954a to your computer and use it in GitHub Desktop.
simpeg part1. views/pegawai/update.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use yii\helpers\Html; | |
/* @var $this yii\web\View */ | |
/* @var $model app\models\Pegawai */ | |
$this->title = 'Update Pegawai: ' . $model->nama; | |
$this->params['breadcrumbs'][] = ['label' => 'Pegawai', 'url' => ['index']]; | |
$this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]]; | |
$this->params['breadcrumbs'][] = 'Update'; | |
?> | |
<div class="pegawai-update"> | |
<div class="box box-success"> | |
<div class="box-header with-border"> | |
<h3 class="box-title"><?= Html::encode($this->title) ?></h3> | |
</div> | |
<div class="box-body"> | |
<?= $this->render('_form', [ | |
'model' => $model, | |
]) ?> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment