Sign Out section of Admin LTE gets blocked in yii2?

I am using yii2 basic and Admin LTE

Admin LTE is working properly.

I have SGHProfile CRUD.

The problem was the sign out section of Admin LTE was getting blocked as I included foll <script> tag in _form.php

<script src=""></script>

I removed the above script tag from _form.php and placed in main.php in layouts. Now it is working.

But in SHGProfile CRUD, I done the same thing, still the log out section remains blocked.

Here is the _form.php of SHGProfile CRUD.


use yii\helpers\Html;

//use yii\widgets\ActiveForm;

use yii\bootstrap\ActiveForm;

use nex\datepicker\DatePicker;

use wbraganca\dynamicform\DynamicFormWidget;

use yii\web\UploadedFile;

use app\models\District;

use app\models\Taluka;

use app\models\Village;

use app\models\Location;

use app\models\Area;

use app\models\Employee;

use yii\helpers\ArrayHelper;

/* @var $this yii\web\View */

/* @var $model app\models\Groupdetails */

/* @var $form yii\widgets\ActiveForm */



$(document).ready(function() {


if(event.keyCode == 13) {


  return false;




$(function () {

$("select#groupdetails-districtid").attr("disabled", true);

$("select#groupdetails-talukaid").attr("disabled", true);

$("select#groupdetails-villageid").attr("disabled", true);

$("select#groupdetails-locationid").attr("disabled", true);

$("select#groupdetails-areaid").attr("disabled", true);



<div class="groupdetails-form">

<?php $form = ActiveForm::begin([‘id’ => ‘dynamic-form’, ‘options’ => [‘class’ => ‘disable-submit-buttons’],


Please refer to yii2 documentation, read it all and come back )