{"action":"created","comment":{"url":"https://api.github.com/repos/FriendsOfCake/crud-view/pulls/comments/29743151","id":29743151,"diff_hunk":"@@ -0,0 +1,30 @@\n+<?php\n+if (empty($bulkActions)) {\n+    return;\n+}\n+\n+$this->Form->templates([\n+    'submitContainer' => '{{content}}',\n+]);\n+\n+$submitButton = $this->Form->submit(__d('crud', 'Apply'), [\n+    'class' => 'btn btn-success btn-bulk-apply',\n+    'div' => false,\n+    'name' => '_bulk',\n+]);\n+$this->Form->templates([\n+    'inputContainer' => '<div class=\"form-group bulk-action-submit {{required}}\">{{content}}{{help}}</div>',\n+    'select' => '<div class=\"col-sm-10\"><select name=\"{{name}}\"{{attrs}}>{{content}}</select>' . $submitButton . '</div>',","path":"src/Template/Element/index/bulk_actions/form_end.ctp","position":17,"original_position":17,"commit_id":"96dc2c2df979cf18cd9b4d6dde8fa13d3471c0f1","original_commit_id":"98b670a2c15cb54c66cb99cd62dab187857ed74d","user":{"login":"AD7six","id":33387,"avatar_url":"https://avatars.githubusercontent.com/u/33387?v=3","gravatar_id":"","url":"https://api.github.com/users/AD7six","html_url":"https://github.com/AD7six","followers_url":"https://api.github.com/users/AD7six/followers","following_url":"https://api.github.com/users/AD7six/following{/other_user}","gists_url":"https://api.github.com/users/AD7six/gists{/gist_id}","starred_url":"https://api.github.com/users/AD7six/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AD7six/subscriptions","organizations_url":"https://api.github.com/users/AD7six/orgs","repos_url":"https://api.github.com/users/AD7six/repos","events_url":"https://api.github.com/users/AD7six/events{/privacy}","received_events_url":"https://api.github.com/users/AD7six/received_events","type":"User","site_admin":false},"body":"I don't really understand the reasoning there.\r\n\r\nCalling `Form->templates` will override the config for those keys, leaving the Form helper in a different state. If the goal is to change templates only for this one element, the form helper should be in the same state after the element as before - which it won't be. There shouldn't be any config in template files though.\r\n\r\nI might be commenting on how the form helper works rather than this though - isn't it possible to switch template sets at run time, without re-creating the form helper object?","created_at":"2015-05-06T08:56:57Z","updated_at":"2015-05-06T08:56:57Z","html_url":"https://github.com/FriendsOfCake/crud-view/pull/11#discussion_r29743151","pull_request_url":"https://api.github.com/repos/FriendsOfCake/crud-view/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/FriendsOfCake/crud-view/pulls/comments/29743151"},"html":{"href":"https://github.com/FriendsOfCake/crud-view/pull/11#discussion_r29743151"},"pull_request":{"href":"https://api.github.com/repos/FriendsOfCake/crud-view/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/FriendsOfCake/crud-view/pulls/11","id":34231378,"html_url":"https://github.com/FriendsOfCake/crud-view/pull/11","diff_url":"https://github.com/FriendsOfCake/crud-view/pull/11.diff","patch_url":"https://github.com/FriendsOfCake/crud-view/pull/11.patch","issue_url":"https://api.github.com/repos/FriendsOfCake/crud-view/issues/11","number":11,"state":"open","locked":false,"title":"Various fixes","user":{"login":"josegonzalez","id":65675,"avatar_url":"https://avatars.githubusercontent.com/u/65675?v=3","gravatar_id":"","url":"https://api.github.com/users/josegonzalez","html_url":"https://github.com/josegonzalez","followers_url":"https://api.github.com/users/josegonzalez/followers","following_url":"https://api.github.com/users/josegonzalez/following{/other_user}","gists_url":"https://api.github.com/users/josegonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/josegonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josegonzalez/subscriptions","organizations_url":"https://api.github.com/users/josegonzalez/orgs","repos_url":"https://api.github.com/users/josegonzalez/repos","events_url":"https://api.github.com/users/josegonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/josegonzalez/received_events","type":"User","site_admin":false},"body":"Don't merge just yet. These are \"fixes\" intended to make crud-view a usable plugin (though sans testing, I'll let @AD7six do that :P )\r\n","created_at":"2015-04-28T03:41:23Z","updated_at":"2015-05-06T08:56:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d235c9b24a2656d8f2a1ab4c37745d6c68c8959b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FriendsOfCake/crud-view/pulls/11/commits","review_comments_url":"https://api.github.com/repos/FriendsOfCake/crud-view/pulls/11/comments","review_comment_url":"https://api.github.com/repos/FriendsOfCake/crud-view/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FriendsOfCake/crud-view/issues/11/comments","statuses_url":"https://api.github.com/repos/FriendsOfCake/crud-view/statuses/96dc2c2df979cf18cd9b4d6dde8fa13d3471c0f1","head":{"label":"FriendsOfCake:josegonzalez-patch-1","ref":"josegonzalez-patch-1","sha":"96dc2c2df979cf18cd9b4d6dde8fa13d3471c0f1","user":{"login":"FriendsOfCake","id":5203126,"avatar_url":"https://avatars.githubusercontent.com/u/5203126?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfCake","html_url":"https://github.com/FriendsOfCake","followers_url":"https://api.github.com/users/FriendsOfCake/followers","following_url":"https://api.github.com/users/FriendsOfCake/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfCake/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfCake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfCake/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfCake/orgs","repos_url":"https://api.github.com/users/FriendsOfCake/repos","events_url":"https://api.github.com/users/FriendsOfCake/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfCake/received_events","type":"Organization","site_admin":false},"repo":{"id":13886676,"name":"crud-view","full_name":"FriendsOfCake/crud-view","owner":{"login":"FriendsOfCake","id":5203126,"avatar_url":"https://avatars.githubusercontent.com/u/5203126?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfCake","html_url":"https://github.com/FriendsOfCake","followers_url":"https://api.github.com/users/FriendsOfCake/followers","following_url":"https://api.github.com/users/FriendsOfCake/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfCake/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfCake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfCake/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfCake/orgs","repos_url":"https://api.github.com/users/FriendsOfCake/repos","events_url":"https://api.github.com/users/FriendsOfCake/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfCake/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FriendsOfCake/crud-view","description":"(Incubator project) Automated admin backend based on your Crud configuration","fork":false,"url":"https://api.github.com/repos/FriendsOfCake/crud-view","forks_url":"https://api.github.com/repos/FriendsOfCake/crud-view/forks","keys_url":"https://api.github.com/repos/FriendsOfCake/crud-view/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FriendsOfCake/crud-view/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FriendsOfCake/crud-view/teams","hooks_url":"https://api.github.com/repos/FriendsOfCake/crud-view/hooks","issue_events_url":"https://api.github.com/repos/FriendsOfCake/crud-view/issues/events{/number}","events_url":"https://api.github.com/repos/FriendsOfCake/crud-view/events","assignees_url":"https://api.github.com/repos/FriendsOfCake/crud-view/assignees{/user}","branches_url":"https://api.github.com/repos/FriendsOfCake/crud-view/branches{/branch}","tags_url":"https://api.github.com/repos/FriendsOfCake/crud-view/tags","blobs_url":"https://api.github.com/repos/FriendsOfCake/crud-view/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FriendsOfCake/crud-view/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FriendsOfCake/crud-view/git/refs{/sha}","trees_url":"https://api.github.com/repos/FriendsOfCake/crud-view/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FriendsOfCake/crud-view/statuses/{sha}","languages_url":"https://api.github.com/repos/FriendsOfCake/crud-view/languages","stargazers_url":"https://api.github.com/repos/FriendsOfCake/crud-view/stargazers","contributors_url":"https://api.github.com/repos/FriendsOfCake/crud-view/contributors","subscribers_url":"https://api.github.com/repos/FriendsOfCake/crud-view/subscribers","subscription_url":"https://api.github.com/repos/FriendsOfCake/crud-view/subscription","commits_url":"https://api.github.com/repos/FriendsOfCake/crud-view/commits{/sha}","git_commits_url":"https://api.github.com/repos/FriendsOfCake/crud-view/git/commits{/sha}","comments_url":"https://api.github.com/repos/FriendsOfCake/crud-view/comments{/number}","issue_comment_url":"https://api.github.com/repos/FriendsOfCake/crud-view/issues/comments{/number}","contents_url":"https://api.github.com/repos/FriendsOfCake/crud-view/contents/{+path}","compare_url":"https://api.github.com/repos/FriendsOfCake/crud-view/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FriendsOfCake/crud-view/merges","archive_url":"https://api.github.com/repos/FriendsOfCake/crud-view/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FriendsOfCake/crud-view/downloads","issues_url":"https://api.github.com/repos/FriendsOfCake/crud-view/issues{/number}","pulls_url":"https://api.github.com/repos/FriendsOfCake/crud-view/pulls{/number}","milestones_url":"https://api.github.com/repos/FriendsOfCake/crud-view/milestones{/number}","notifications_url":"https://api.github.com/repos/FriendsOfCake/crud-view/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FriendsOfCake/crud-view/labels{/name}","releases_url":"https://api.github.com/repos/FriendsOfCake/crud-view/releases{/id}","created_at":"2013-10-26T16:21:14Z","updated_at":"2015-02-17T16:00:29Z","pushed_at":"2015-05-06T08:47:15Z","git_url":"git://github.com/FriendsOfCake/crud-view.git","ssh_url":"git@github.com:FriendsOfCake/crud-view.git","clone_url":"https://github.com/FriendsOfCake/crud-view.git","svn_url":"https://github.com/FriendsOfCake/crud-view","homepage":"http://friendsofcake.com/","size":1185,"stargazers_count":10,"watchers_count":10,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":5,"forks":6,"open_issues":5,"watchers":10,"default_branch":"master"}},"base":{"label":"FriendsOfCake:master","ref":"master","sha":"73e0283d262b12a9e11e6f62c5225bb8b5043b83","user":{"login":"FriendsOfCake","id":5203126,"avatar_url":"https://avatars.githubusercontent.com/u/5203126?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfCake","html_url":"https://github.com/FriendsOfCake","followers_url":"https://api.github.com/users/FriendsOfCake/followers","following_url":"https://api.github.com/users/FriendsOfCake/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfCake/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfCake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfCake/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfCake/orgs","repos_url":"https://api.github.com/users/FriendsOfCake/repos","events_url":"https://api.github.com/users/FriendsOfCake/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfCake/received_events","type":"Organization","site_admin":false},"repo":{"id":13886676,"name":"crud-view","full_name":"FriendsOfCake/crud-view","owner":{"login":"FriendsOfCake","id":5203126,"avatar_url":"https://avatars.githubusercontent.com/u/5203126?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfCake","html_url":"https://github.com/FriendsOfCake","followers_url":"https://api.github.com/users/FriendsOfCake/followers","following_url":"https://api.github.com/users/FriendsOfCake/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfCake/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfCake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfCake/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfCake/orgs","repos_url":"https://api.github.com/users/FriendsOfCake/repos","events_url":"https://api.github.com/users/FriendsOfCake/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfCake/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FriendsOfCake/crud-view","description":"(Incubator project) Automated admin backend based on your Crud configuration","fork":false,"url":"https://api.github.com/repos/FriendsOfCake/crud-view","forks_url":"https://api.github.com/repos/FriendsOfCake/crud-view/forks","keys_url":"https://api.github.com/repos/FriendsOfCake/crud-view/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FriendsOfCake/crud-view/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FriendsOfCake/crud-view/teams","hooks_url":"https://api.github.com/repos/FriendsOfCake/crud-view/hooks","issue_events_url":"https://api.github.com/repos/FriendsOfCake/crud-view/issues/events{/number}","events_url":"https://api.github.com/repos/FriendsOfCake/crud-view/events","assignees_url":"https://api.github.com/repos/FriendsOfCake/crud-view/assignees{/user}","branches_url":"https://api.github.com/repos/FriendsOfCake/crud-view/branches{/branch}","tags_url":"https://api.github.com/repos/FriendsOfCake/crud-view/tags","blobs_url":"https://api.github.com/repos/FriendsOfCake/crud-view/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FriendsOfCake/crud-view/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FriendsOfCake/crud-view/git/refs{/sha}","trees_url":"https://api.github.com/repos/FriendsOfCake/crud-view/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FriendsOfCake/crud-view/statuses/{sha}","languages_url":"https://api.github.com/repos/FriendsOfCake/crud-view/languages","stargazers_url":"https://api.github.com/repos/FriendsOfCake/crud-view/stargazers","contributors_url":"https://api.github.com/repos/FriendsOfCake/crud-view/contributors","subscribers_url":"https://api.github.com/repos/FriendsOfCake/crud-view/subscribers","subscription_url":"https://api.github.com/repos/FriendsOfCake/crud-view/subscription","commits_url":"https://api.github.com/repos/FriendsOfCake/crud-view/commits{/sha}","git_commits_url":"https://api.github.com/repos/FriendsOfCake/crud-view/git/commits{/sha}","comments_url":"https://api.github.com/repos/FriendsOfCake/crud-view/comments{/number}","issue_comment_url":"https://api.github.com/repos/FriendsOfCake/crud-view/issues/comments{/number}","contents_url":"https://api.github.com/repos/FriendsOfCake/crud-view/contents/{+path}","compare_url":"https://api.github.com/repos/FriendsOfCake/crud-view/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FriendsOfCake/crud-view/merges","archive_url":"https://api.github.com/repos/FriendsOfCake/crud-view/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FriendsOfCake/crud-view/downloads","issues_url":"https://api.github.com/repos/FriendsOfCake/crud-view/issues{/number}","pulls_url":"https://api.github.com/repos/FriendsOfCake/crud-view/pulls{/number}","milestones_url":"https://api.github.com/repos/FriendsOfCake/crud-view/milestones{/number}","notifications_url":"https://api.github.com/repos/FriendsOfCake/crud-view/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FriendsOfCake/crud-view/labels{/name}","releases_url":"https://api.github.com/repos/FriendsOfCake/crud-view/releases{/id}","created_at":"2013-10-26T16:21:14Z","updated_at":"2015-02-17T16:00:29Z","pushed_at":"2015-05-06T08:47:15Z","git_url":"git://github.com/FriendsOfCake/crud-view.git","ssh_url":"git@github.com:FriendsOfCake/crud-view.git","clone_url":"https://github.com/FriendsOfCake/crud-view.git","svn_url":"https://github.com/FriendsOfCake/crud-view","homepage":"http://friendsofcake.com/","size":1185,"stargazers_count":10,"watchers_count":10,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":5,"forks":6,"open_issues":5,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FriendsOfCake/crud-view/pulls/11"},"html":{"href":"https://github.com/FriendsOfCake/crud-view/pull/11"},"issue":{"href":"https://api.github.com/repos/FriendsOfCake/crud-view/issues/11"},"comments":{"href":"https://api.github.com/repos/FriendsOfCake/crud-view/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/FriendsOfCake/crud-view/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/FriendsOfCake/crud-view/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FriendsOfCake/crud-view/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/FriendsOfCake/crud-view/statuses/96dc2c2df979cf18cd9b4d6dde8fa13d3471c0f1"}}}}