{"action":"closed","number":1259,"pull_request":{"url":"https://api.github.com/repos/plataformatec/simple_form/pulls/1259","id":36084984,"html_url":"https://github.com/plataformatec/simple_form/pull/1259","diff_url":"https://github.com/plataformatec/simple_form/pull/1259.diff","patch_url":"https://github.com/plataformatec/simple_form/pull/1259.patch","issue_url":"https://api.github.com/repos/plataformatec/simple_form/issues/1259","number":1259,"state":"closed","locked":false,"title":"Use `button` instead of `submit` when a block is given.","user":{"login":"lowjoel","id":2505070,"avatar_url":"https://avatars.githubusercontent.com/u/2505070?v=3","gravatar_id":"","url":"https://api.github.com/users/lowjoel","html_url":"https://github.com/lowjoel","followers_url":"https://api.github.com/users/lowjoel/followers","following_url":"https://api.github.com/users/lowjoel/following{/other_user}","gists_url":"https://api.github.com/users/lowjoel/gists{/gist_id}","starred_url":"https://api.github.com/users/lowjoel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lowjoel/subscriptions","organizations_url":"https://api.github.com/users/lowjoel/orgs","repos_url":"https://api.github.com/users/lowjoel/repos","events_url":"https://api.github.com/users/lowjoel/events{/privacy}","received_events_url":"https://api.github.com/users/lowjoel/received_events","type":"User","site_admin":false},"body":"The submit helper does not accept blocks, and this unifies the behaviour of the different button types.","created_at":"2015-05-23T09:13:52Z","updated_at":"2015-06-14T16:19:32Z","closed_at":"2015-06-14T16:19:32Z","merged_at":null,"merge_commit_sha":"00f7ac5e5e23b10a252cc9a0cefa576f04e55379","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/plataformatec/simple_form/pulls/1259/commits","review_comments_url":"https://api.github.com/repos/plataformatec/simple_form/pulls/1259/comments","review_comment_url":"https://api.github.com/repos/plataformatec/simple_form/pulls/comments{/number}","comments_url":"https://api.github.com/repos/plataformatec/simple_form/issues/1259/comments","statuses_url":"https://api.github.com/repos/plataformatec/simple_form/statuses/624cf3fd2e6c6de4050f17bd823de43fe78aef62","head":{"label":"lowjoel:button-submit-with-block","ref":"button-submit-with-block","sha":"624cf3fd2e6c6de4050f17bd823de43fe78aef62","user":{"login":"lowjoel","id":2505070,"avatar_url":"https://avatars.githubusercontent.com/u/2505070?v=3","gravatar_id":"","url":"https://api.github.com/users/lowjoel","html_url":"https://github.com/lowjoel","followers_url":"https://api.github.com/users/lowjoel/followers","following_url":"https://api.github.com/users/lowjoel/following{/other_user}","gists_url":"https://api.github.com/users/lowjoel/gists{/gist_id}","starred_url":"https://api.github.com/users/lowjoel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lowjoel/subscriptions","organizations_url":"https://api.github.com/users/lowjoel/orgs","repos_url":"https://api.github.com/users/lowjoel/repos","events_url":"https://api.github.com/users/lowjoel/events{/privacy}","received_events_url":"https://api.github.com/users/lowjoel/received_events","type":"User","site_admin":false},"repo":{"id":36113331,"name":"simple_form","full_name":"lowjoel/simple_form","owner":{"login":"lowjoel","id":2505070,"avatar_url":"https://avatars.githubusercontent.com/u/2505070?v=3","gravatar_id":"","url":"https://api.github.com/users/lowjoel","html_url":"https://github.com/lowjoel","followers_url":"https://api.github.com/users/lowjoel/followers","following_url":"https://api.github.com/users/lowjoel/following{/other_user}","gists_url":"https://api.github.com/users/lowjoel/gists{/gist_id}","starred_url":"https://api.github.com/users/lowjoel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lowjoel/subscriptions","organizations_url":"https://api.github.com/users/lowjoel/orgs","repos_url":"https://api.github.com/users/lowjoel/repos","events_url":"https://api.github.com/users/lowjoel/events{/privacy}","received_events_url":"https://api.github.com/users/lowjoel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lowjoel/simple_form","description":"Forms made easy for Rails! It's tied to a simple DSL, with no opinion on markup.","fork":true,"url":"https://api.github.com/repos/lowjoel/simple_form","forks_url":"https://api.github.com/repos/lowjoel/simple_form/forks","keys_url":"https://api.github.com/repos/lowjoel/simple_form/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lowjoel/simple_form/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lowjoel/simple_form/teams","hooks_url":"https://api.github.com/repos/lowjoel/simple_form/hooks","issue_events_url":"https://api.github.com/repos/lowjoel/simple_form/issues/events{/number}","events_url":"https://api.github.com/repos/lowjoel/simple_form/events","assignees_url":"https://api.github.com/repos/lowjoel/simple_form/assignees{/user}","branches_url":"https://api.github.com/repos/lowjoel/simple_form/branches{/branch}","tags_url":"https://api.github.com/repos/lowjoel/simple_form/tags","blobs_url":"https://api.github.com/repos/lowjoel/simple_form/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lowjoel/simple_form/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lowjoel/simple_form/git/refs{/sha}","trees_url":"https://api.github.com/repos/lowjoel/simple_form/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lowjoel/simple_form/statuses/{sha}","languages_url":"https://api.github.com/repos/lowjoel/simple_form/languages","stargazers_url":"https://api.github.com/repos/lowjoel/simple_form/stargazers","contributors_url":"https://api.github.com/repos/lowjoel/simple_form/contributors","subscribers_url":"https://api.github.com/repos/lowjoel/simple_form/subscribers","subscription_url":"https://api.github.com/repos/lowjoel/simple_form/subscription","commits_url":"https://api.github.com/repos/lowjoel/simple_form/commits{/sha}","git_commits_url":"https://api.github.com/repos/lowjoel/simple_form/git/commits{/sha}","comments_url":"https://api.github.com/repos/lowjoel/simple_form/comments{/number}","issue_comment_url":"https://api.github.com/repos/lowjoel/simple_form/issues/comments{/number}","contents_url":"https://api.github.com/repos/lowjoel/simple_form/contents/{+path}","compare_url":"https://api.github.com/repos/lowjoel/simple_form/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lowjoel/simple_form/merges","archive_url":"https://api.github.com/repos/lowjoel/simple_form/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lowjoel/simple_form/downloads","issues_url":"https://api.github.com/repos/lowjoel/simple_form/issues{/number}","pulls_url":"https://api.github.com/repos/lowjoel/simple_form/pulls{/number}","milestones_url":"https://api.github.com/repos/lowjoel/simple_form/milestones{/number}","notifications_url":"https://api.github.com/repos/lowjoel/simple_form/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lowjoel/simple_form/labels{/name}","releases_url":"https://api.github.com/repos/lowjoel/simple_form/releases{/id}","created_at":"2015-05-23T08:04:20Z","updated_at":"2015-05-23T08:04:22Z","pushed_at":"2015-05-23T09:14:17Z","git_url":"git://github.com/lowjoel/simple_form.git","ssh_url":"git@github.com:lowjoel/simple_form.git","clone_url":"https://github.com/lowjoel/simple_form.git","svn_url":"https://github.com/lowjoel/simple_form","homepage":"http://blog.plataformatec.com.br/tag/simple_form","size":2957,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"plataformatec:master","ref":"master","sha":"7cb9d0252a8473e2e867e996b6194bf9c24f4ce1","user":{"login":"plataformatec","id":127679,"avatar_url":"https://avatars.githubusercontent.com/u/127679?v=3","gravatar_id":"","url":"https://api.github.com/users/plataformatec","html_url":"https://github.com/plataformatec","followers_url":"https://api.github.com/users/plataformatec/followers","following_url":"https://api.github.com/users/plataformatec/following{/other_user}","gists_url":"https://api.github.com/users/plataformatec/gists{/gist_id}","starred_url":"https://api.github.com/users/plataformatec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plataformatec/subscriptions","organizations_url":"https://api.github.com/users/plataformatec/orgs","repos_url":"https://api.github.com/users/plataformatec/repos","events_url":"https://api.github.com/users/plataformatec/events{/privacy}","received_events_url":"https://api.github.com/users/plataformatec/received_events","type":"Organization","site_admin":false},"repo":{"id":451035,"name":"simple_form","full_name":"plataformatec/simple_form","owner":{"login":"plataformatec","id":127679,"avatar_url":"https://avatars.githubusercontent.com/u/127679?v=3","gravatar_id":"","url":"https://api.github.com/users/plataformatec","html_url":"https://github.com/plataformatec","followers_url":"https://api.github.com/users/plataformatec/followers","following_url":"https://api.github.com/users/plataformatec/following{/other_user}","gists_url":"https://api.github.com/users/plataformatec/gists{/gist_id}","starred_url":"https://api.github.com/users/plataformatec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plataformatec/subscriptions","organizations_url":"https://api.github.com/users/plataformatec/orgs","repos_url":"https://api.github.com/users/plataformatec/repos","events_url":"https://api.github.com/users/plataformatec/events{/privacy}","received_events_url":"https://api.github.com/users/plataformatec/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/plataformatec/simple_form","description":"Forms made easy for Rails! It's tied to a simple DSL, with no opinion on markup.","fork":false,"url":"https://api.github.com/repos/plataformatec/simple_form","forks_url":"https://api.github.com/repos/plataformatec/simple_form/forks","keys_url":"https://api.github.com/repos/plataformatec/simple_form/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plataformatec/simple_form/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plataformatec/simple_form/teams","hooks_url":"https://api.github.com/repos/plataformatec/simple_form/hooks","issue_events_url":"https://api.github.com/repos/plataformatec/simple_form/issues/events{/number}","events_url":"https://api.github.com/repos/plataformatec/simple_form/events","assignees_url":"https://api.github.com/repos/plataformatec/simple_form/assignees{/user}","branches_url":"https://api.github.com/repos/plataformatec/simple_form/branches{/branch}","tags_url":"https://api.github.com/repos/plataformatec/simple_form/tags","blobs_url":"https://api.github.com/repos/plataformatec/simple_form/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plataformatec/simple_form/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plataformatec/simple_form/git/refs{/sha}","trees_url":"https://api.github.com/repos/plataformatec/simple_form/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plataformatec/simple_form/statuses/{sha}","languages_url":"https://api.github.com/repos/plataformatec/simple_form/languages","stargazers_url":"https://api.github.com/repos/plataformatec/simple_form/stargazers","contributors_url":"https://api.github.com/repos/plataformatec/simple_form/contributors","subscribers_url":"https://api.github.com/repos/plataformatec/simple_form/subscribers","subscription_url":"https://api.github.com/repos/plataformatec/simple_form/subscription","commits_url":"https://api.github.com/repos/plataformatec/simple_form/commits{/sha}","git_commits_url":"https://api.github.com/repos/plataformatec/simple_form/git/commits{/sha}","comments_url":"https://api.github.com/repos/plataformatec/simple_form/comments{/number}","issue_comment_url":"https://api.github.com/repos/plataformatec/simple_form/issues/comments{/number}","contents_url":"https://api.github.com/repos/plataformatec/simple_form/contents/{+path}","compare_url":"https://api.github.com/repos/plataformatec/simple_form/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plataformatec/simple_form/merges","archive_url":"https://api.github.com/repos/plataformatec/simple_form/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plataformatec/simple_form/downloads","issues_url":"https://api.github.com/repos/plataformatec/simple_form/issues{/number}","pulls_url":"https://api.github.com/repos/plataformatec/simple_form/pulls{/number}","milestones_url":"https://api.github.com/repos/plataformatec/simple_form/milestones{/number}","notifications_url":"https://api.github.com/repos/plataformatec/simple_form/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plataformatec/simple_form/labels{/name}","releases_url":"https://api.github.com/repos/plataformatec/simple_form/releases{/id}","created_at":"2009-12-28T14:23:48Z","updated_at":"2015-06-14T06:57:22Z","pushed_at":"2015-06-01T20:38:32Z","git_url":"git://github.com/plataformatec/simple_form.git","ssh_url":"git@github.com:plataformatec/simple_form.git","clone_url":"https://github.com/plataformatec/simple_form.git","svn_url":"https://github.com/plataformatec/simple_form","homepage":"http://blog.plataformatec.com.br/tag/simple_form","size":6191,"stargazers_count":5306,"watchers_count":5306,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":852,"mirror_url":null,"open_issues_count":27,"forks":852,"open_issues":27,"watchers":5306,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/plataformatec/simple_form/pulls/1259"},"html":{"href":"https://github.com/plataformatec/simple_form/pull/1259"},"issue":{"href":"https://api.github.com/repos/plataformatec/simple_form/issues/1259"},"comments":{"href":"https://api.github.com/repos/plataformatec/simple_form/issues/1259/comments"},"review_comments":{"href":"https://api.github.com/repos/plataformatec/simple_form/pulls/1259/comments"},"review_comment":{"href":"https://api.github.com/repos/plataformatec/simple_form/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/plataformatec/simple_form/pulls/1259/commits"},"statuses":{"href":"https://api.github.com/repos/plataformatec/simple_form/statuses/624cf3fd2e6c6de4050f17bd823de43fe78aef62"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":26,"deletions":0,"changed_files":2}}