@ -4,9 +4,9 @@ yii.gii = (function ($) {
var initHintBlocks = function () {
$('.hint-block').each(function () {
var $hint = $(this);
$hint.parent().find('input,select,textarea').popover({
$hint.parent().find('label').addClass('help').popover({
html: true,
trigger: 'focus',
trigger: 'hover',
placement: 'right',
content: $hint.html()
});
@ -47,6 +47,11 @@ body {
overflow: auto;
}
.default-view .form-group label.help {
border-bottom: 1px dashed #888;
cursor: help;
.default-view .modal-dialog {
width: 800px;