{"action":"created","issue":{"url":"https://api.github.com/repos/kartik-v/yii2-detail-view/issues/88","repository_url":"https://api.github.com/repos/kartik-v/yii2-detail-view","labels_url":"https://api.github.com/repos/kartik-v/yii2-detail-view/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/kartik-v/yii2-detail-view/issues/88/comments","events_url":"https://api.github.com/repos/kartik-v/yii2-detail-view/issues/88/events","html_url":"https://github.com/kartik-v/yii2-detail-view/issues/88","id":107566947,"number":88,"title":"Delete Button with Bootstrap Modal Confirm","user":{"login":"zmoddynamics","id":964005,"avatar_url":"https://avatars.githubusercontent.com/u/964005?v=3","gravatar_id":"","url":"https://api.github.com/users/zmoddynamics","html_url":"https://github.com/zmoddynamics","followers_url":"https://api.github.com/users/zmoddynamics/followers","following_url":"https://api.github.com/users/zmoddynamics/following{/other_user}","gists_url":"https://api.github.com/users/zmoddynamics/gists{/gist_id}","starred_url":"https://api.github.com/users/zmoddynamics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zmoddynamics/subscriptions","organizations_url":"https://api.github.com/users/zmoddynamics/orgs","repos_url":"https://api.github.com/users/zmoddynamics/repos","events_url":"https://api.github.com/users/zmoddynamics/events{/privacy}","received_events_url":"https://api.github.com/users/zmoddynamics/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-21T18:04:52Z","updated_at":"2016-04-23T12:36:02Z","closed_at":null,"body":"Hi, Thanks for writing this great extension. I am hoping you can help me figure out how to change the default 'confirm' dialog box to one that uses a bootstrap modal confirm?\r\n\r\nFor example, I also use your gridview  extension and you allow for some callbacks to set a custom button:\r\n\r\n'buttons' => [\r\n\r\n            //view button\r\n            'delete' => function ($url, $model) {\r\n                return\r\n                    \"<button data-toggle=\\\"modal\\\" data-target=\\\"#confirm-delete\\\" data-action=\\\"{$url}\\\" type=\\\"button\\\" class=\\\"btn btn-xs btn-danger\\\">\r\n                        <span class=\\\"glyphicon glyphicon-trash\\\"></span>\r\n                    </button>\";\r\n\r\n            },\r\n        ],\r\n\r\nIn this way, I can override your button with my own modal confirm. Is there anyway to do something similar with the delete button of DetailView ?"},"comment":{"url":"https://api.github.com/repos/kartik-v/yii2-detail-view/issues/comments/213733431","html_url":"https://github.com/kartik-v/yii2-detail-view/issues/88#issuecomment-213733431","issue_url":"https://api.github.com/repos/kartik-v/yii2-detail-view/issues/88","id":213733431,"user":{"login":"kartik-v","id":3592619,"avatar_url":"https://avatars.githubusercontent.com/u/3592619?v=3","gravatar_id":"","url":"https://api.github.com/users/kartik-v","html_url":"https://github.com/kartik-v","followers_url":"https://api.github.com/users/kartik-v/followers","following_url":"https://api.github.com/users/kartik-v/following{/other_user}","gists_url":"https://api.github.com/users/kartik-v/gists{/gist_id}","starred_url":"https://api.github.com/users/kartik-v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kartik-v/subscriptions","organizations_url":"https://api.github.com/users/kartik-v/orgs","repos_url":"https://api.github.com/users/kartik-v/repos","events_url":"https://api.github.com/users/kartik-v/events{/privacy}","received_events_url":"https://api.github.com/users/kartik-v/received_events","type":"User","site_admin":false},"created_at":"2016-04-23T12:36:02Z","updated_at":"2016-04-23T12:36:02Z","body":"Will be implemented via [Krajee Dialog Extension](http://demos.krajee.com/dialog) and a `krajeeDialogSettings` property will be made available to configure the widget."}}