</div> <hr/> <?php if (User::hasPermission('manageRolesAndPermissions')) { ?> <?php echo Html::submitButton(Yii::t('yee', 'Save'), ['class' => 'btn btn-primary btn-sm']); ?> <?php } ?> <?php echo Html::endForm(); ?> </div> </div> </div> </div> <?php $this->registerJs(<<<JS \$('.role-help-btn').off('mouseover mouseleave') \t.on('mouseover', function(){ \t\tvar _t = \$(this); \t\t_t.popover('show'); \t}).on('mouseleave', function(){