{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/6439","repository_url":"https://api.github.com/repos/yiisoft/yii2","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/6439/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/6439/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/6439/events","html_url":"https://github.com/yiisoft/yii2/issues/6439","id":51491971,"number":6439,"title":"ActiveField checkbox does not render template correctly?","user":{"login":"wangchj","id":1118410,"avatar_url":"https://avatars.githubusercontent.com/u/1118410?v=3","gravatar_id":"","url":"https://api.github.com/users/wangchj","html_url":"https://github.com/wangchj","followers_url":"https://api.github.com/users/wangchj/followers","following_url":"https://api.github.com/users/wangchj/following{/other_user}","gists_url":"https://api.github.com/users/wangchj/gists{/gist_id}","starred_url":"https://api.github.com/users/wangchj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangchj/subscriptions","organizations_url":"https://api.github.com/users/wangchj/orgs","repos_url":"https://api.github.com/users/wangchj/repos","events_url":"https://api.github.com/users/wangchj/events{/privacy}","received_events_url":"https://api.github.com/users/wangchj/received_events","type":"User","site_admin":false},"labels":[{"id":67525403,"url":"https://api.github.com/repos/yiisoft/yii2/labels/ext:gii","name":"ext:gii","color":"bfd4f2","default":false},{"id":38412944,"url":"https://api.github.com/repos/yiisoft/yii2/labels/status:to%20be%20verified","name":"status:to be verified","color":"fbca04","default":false},{"id":33208865,"url":"https://api.github.com/repos/yiisoft/yii2/labels/type:docs","name":"type:docs","color":"207de5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/yiisoft/yii2/milestones/9","html_url":"https://github.com/yiisoft/yii2/milestones/2.0.x","labels_url":"https://api.github.com/repos/yiisoft/yii2/milestones/9/labels","id":831720,"number":9,"title":"2.0.x","description":"","creator":{"login":"cebe","id":189796,"avatar_url":"https://avatars.githubusercontent.com/u/189796?v=3","gravatar_id":"","url":"https://api.github.com/users/cebe","html_url":"https://github.com/cebe","followers_url":"https://api.github.com/users/cebe/followers","following_url":"https://api.github.com/users/cebe/following{/other_user}","gists_url":"https://api.github.com/users/cebe/gists{/gist_id}","starred_url":"https://api.github.com/users/cebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cebe/subscriptions","organizations_url":"https://api.github.com/users/cebe/orgs","repos_url":"https://api.github.com/users/cebe/repos","events_url":"https://api.github.com/users/cebe/events{/privacy}","received_events_url":"https://api.github.com/users/cebe/received_events","type":"User","site_admin":false},"open_issues":351,"closed_issues":27,"state":"open","created_at":"2014-10-19T13:49:45Z","updated_at":"2016-11-04T09:27:46Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2014-12-09T22:34:57Z","updated_at":"2016-11-04T09:30:34Z","closed_at":null,"body":"The following is Gii generate form in PHP\n\n``` PHP\n<?= $form->field($model, 'rememberMe', [\n    'template' => \"<div class=\\\"col-lg-offset-1 col-lg-3\\\">{input}</div>\\n<div class=\\\"col-lg-8\\\">{error}</div>\",\n])->checkbox() ?>\n```\n\nThe following is the HTML output. Notice, it doesn't resemble the template.\n\n``` HTML\n<div class=\"form-group field-loginform-rememberme\">\n    <div class=\"checkbox\">\n        <label>\n        <input type=\"hidden\" name=\"LoginForm[rememberMe]\" value=\"0\">\n        <input type=\"checkbox\" id=\"loginform-rememberme\" name=\"LoginForm[rememberMe]\" value=\"1\" checked>\n        Remember Me\n        </label>\n        <p class=\"help-block help-block-error\"></p>\n    </div>\n</div>\n```\n"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/258381857","html_url":"https://github.com/yiisoft/yii2/issues/6439#issuecomment-258381857","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/6439","id":258381857,"user":{"login":"yii-bot","id":13490354,"avatar_url":"https://avatars.githubusercontent.com/u/13490354?v=3","gravatar_id":"","url":"https://api.github.com/users/yii-bot","html_url":"https://github.com/yii-bot","followers_url":"https://api.github.com/users/yii-bot/followers","following_url":"https://api.github.com/users/yii-bot/following{/other_user}","gists_url":"https://api.github.com/users/yii-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/yii-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yii-bot/subscriptions","organizations_url":"https://api.github.com/users/yii-bot/orgs","repos_url":"https://api.github.com/users/yii-bot/repos","events_url":"https://api.github.com/users/yii-bot/events{/privacy}","received_events_url":"https://api.github.com/users/yii-bot/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T09:30:34Z","updated_at":"2016-11-04T09:30:34Z","body":"Issue moved to https://github.com/yiisoft/yii2-gii/issues/210"}}
{"actor":{"display_login":"yii-bot"}}