Skip to content

Instantly share code, notes, and snippets.

@DeaVenditama
Created December 5, 2019 08:33
Show Gist options
  • Save DeaVenditama/6db1a2296fac8408dcc536c1e01c954a to your computer and use it in GitHub Desktop.
Save DeaVenditama/6db1a2296fac8408dcc536c1e01c954a to your computer and use it in GitHub Desktop.
simpeg part1. views/pegawai/update.php
<?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