<?php

use yii\helpers\Html;
use yii\widgets\Menu;
use yii\widgets\ActiveForm;

$this->title = 'DHCP Client status';
$this->params['breadcrumbs'] = [
    'Mikrotik',
    'IP',
    'DHCP Client',
    $this->title,
];
?>
<div class="site-plugins">
    <div class="row">
        <div class="col-lg-3">
            <?php
            echo Menu::widget($menu);
            ?> 
        </div>
        <div class="col-md-9">
            <h1 style="margin-top: 0px"><?= Html::encode($this->title) ?></h1>
            
            <?php $form = ActiveForm::begin(['id' => 'form-dhcpClientstatus']); ?>
            <?= $form->field($model, 'address')->label('IP Address')->textInput(['readonly' => true]) ?>
            <?= $form->field($model, 'gateway')->label('Gateway')->textInput(['readonly' => true]) ?>
            <?= $form->field($model, 'dhcp_server')->label('DHCP Server')->textInput(['readonly' => true]) ?>
            <?= $form->field($model, 'expires_after')->label('Expires After')->textInput(['readonly' => true]) ?>
            <?= $form->field($model, 'primary_dns')->label('Primary DNS')->textInput(['readonly' => true]) ?>
            <?= $form->field($model, 'secondary_dns')->label('Secondary DNS')->textInput(['readonly' => true]) ?>
            <?= $form->field($model, 'primary_ntp')->label('Primary NTP')->textInput(['readonly' => true]) ?>

            <?php //= Html::a('<span class="btn-label">' . ucfirst($action) . '</span>', [$action, 'id' => $model->id], ['class' => 'btn btn-primary'])  ?>
        </div>

        <?php ActiveForm::end(); ?>    



    </div>
</div>
</div>



