<?php

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

$this->title = 'New DNS Static Entry';
$this->params['breadcrumbs'] = [
    'Mikrotik',
    'IP',
    $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-Dnsstatic']); ?>
                <?= $form->field($model, 'name'); ?>
                <?= $form->field($model, 'address'); ?>
                <?= $form->field($model, 'ttl')->label('TTL'); ?>

            <?php echo Html::submitButton('Create', ['class' => 'btn btn-primary', 'name' => 'create-button']); ?> 
        </div>
        <?php ActiveForm::end(); ?> 
    </div>
</div>
</div>