{"action":"closed","number":939,"pull_request":{"url":"https://api.github.com/repos/aldeed/meteor-autoform/pulls/939","id":35330888,"html_url":"https://github.com/aldeed/meteor-autoform/pull/939","diff_url":"https://github.com/aldeed/meteor-autoform/pull/939.diff","patch_url":"https://github.com/aldeed/meteor-autoform/pull/939.patch","issue_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/939","number":939,"state":"closed","locked":false,"title":"Options for afFormGroup and afObjectField","user":{"login":"fknipp","id":8255864,"avatar_url":"https://avatars.githubusercontent.com/u/8255864?v=3","gravatar_id":"","url":"https://api.github.com/users/fknipp","html_url":"https://github.com/fknipp","followers_url":"https://api.github.com/users/fknipp/followers","following_url":"https://api.github.com/users/fknipp/following{/other_user}","gists_url":"https://api.github.com/users/fknipp/gists{/gist_id}","starred_url":"https://api.github.com/users/fknipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fknipp/subscriptions","organizations_url":"https://api.github.com/users/fknipp/orgs","repos_url":"https://api.github.com/users/fknipp/repos","events_url":"https://api.github.com/users/fknipp/events{/privacy}","received_events_url":"https://api.github.com/users/fknipp/received_events","type":"User","site_admin":false},"body":"I extended the autoform attributes for “nicer” forms using the Bootstrap grid, e. g. to display first name and surname or ZIP and city side by side.\r\n\r\nExample:\r\n\r\n```javascript\r\nSchema.Registration = new SimpleSchema({\r\n\t'participant': {\r\n\t\ttype: Object,\r\n\t\tautoform: { \r\n\t\t\tafObjectField: {\r\n\t\t\t\tbodyClass: 'container-fluid row'\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\t'participant.firstname': {\r\n\t\ttype: String,\r\n\t\tautoform: { \r\n\t\t\tafFormGroup: {\r\n\t\t\t\t'formgroup-class': 'col-sm-6'\r\n\t\t\t},\r\n\t\t}\r\n\t},\r\n\t'participant.lastname': {\r\n\t\ttype: String,\r\n\t\tautoform: { \r\n\t\t\tafFormGroup: {\r\n\t\t\t\t'formgroup-class': 'col-sm-6'\r\n\t\t\t},\r\n\t\t}\r\n\t},\r\n\t…\r\n};\r\n```\r\n\r\n![github firstname lastname](https://cloud.githubusercontent.com/assets/8255864/7612434/2595e85a-f98b-11e4-8fac-3108d4fceaae.png)\r\n","created_at":"2015-05-13T14:15:07Z","updated_at":"2015-05-28T15:29:33Z","closed_at":"2015-05-28T15:29:32Z","merged_at":"2015-05-28T15:29:32Z","merge_commit_sha":"25f44ac55a54220baba835fa857599c047078d8d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aldeed/meteor-autoform/pulls/939/commits","review_comments_url":"https://api.github.com/repos/aldeed/meteor-autoform/pulls/939/comments","review_comment_url":"https://api.github.com/repos/aldeed/meteor-autoform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/939/comments","statuses_url":"https://api.github.com/repos/aldeed/meteor-autoform/statuses/b5286577799691f3a1c30eb4515063cf55b42647","head":{"label":"fknipp:options-for-afFromGroup","ref":"options-for-afFromGroup","sha":"b5286577799691f3a1c30eb4515063cf55b42647","user":{"login":"fknipp","id":8255864,"avatar_url":"https://avatars.githubusercontent.com/u/8255864?v=3","gravatar_id":"","url":"https://api.github.com/users/fknipp","html_url":"https://github.com/fknipp","followers_url":"https://api.github.com/users/fknipp/followers","following_url":"https://api.github.com/users/fknipp/following{/other_user}","gists_url":"https://api.github.com/users/fknipp/gists{/gist_id}","starred_url":"https://api.github.com/users/fknipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fknipp/subscriptions","organizations_url":"https://api.github.com/users/fknipp/orgs","repos_url":"https://api.github.com/users/fknipp/repos","events_url":"https://api.github.com/users/fknipp/events{/privacy}","received_events_url":"https://api.github.com/users/fknipp/received_events","type":"User","site_admin":false},"repo":{"id":35531700,"name":"meteor-autoform","full_name":"fknipp/meteor-autoform","owner":{"login":"fknipp","id":8255864,"avatar_url":"https://avatars.githubusercontent.com/u/8255864?v=3","gravatar_id":"","url":"https://api.github.com/users/fknipp","html_url":"https://github.com/fknipp","followers_url":"https://api.github.com/users/fknipp/followers","following_url":"https://api.github.com/users/fknipp/following{/other_user}","gists_url":"https://api.github.com/users/fknipp/gists{/gist_id}","starred_url":"https://api.github.com/users/fknipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fknipp/subscriptions","organizations_url":"https://api.github.com/users/fknipp/orgs","repos_url":"https://api.github.com/users/fknipp/repos","events_url":"https://api.github.com/users/fknipp/events{/privacy}","received_events_url":"https://api.github.com/users/fknipp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fknipp/meteor-autoform","description":"AutoForm is a Meteor package that adds UI components and helpers to easily create basic forms with automatic insert and update events, and automatic reactive validation.","fork":true,"url":"https://api.github.com/repos/fknipp/meteor-autoform","forks_url":"https://api.github.com/repos/fknipp/meteor-autoform/forks","keys_url":"https://api.github.com/repos/fknipp/meteor-autoform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fknipp/meteor-autoform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fknipp/meteor-autoform/teams","hooks_url":"https://api.github.com/repos/fknipp/meteor-autoform/hooks","issue_events_url":"https://api.github.com/repos/fknipp/meteor-autoform/issues/events{/number}","events_url":"https://api.github.com/repos/fknipp/meteor-autoform/events","assignees_url":"https://api.github.com/repos/fknipp/meteor-autoform/assignees{/user}","branches_url":"https://api.github.com/repos/fknipp/meteor-autoform/branches{/branch}","tags_url":"https://api.github.com/repos/fknipp/meteor-autoform/tags","blobs_url":"https://api.github.com/repos/fknipp/meteor-autoform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fknipp/meteor-autoform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fknipp/meteor-autoform/git/refs{/sha}","trees_url":"https://api.github.com/repos/fknipp/meteor-autoform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fknipp/meteor-autoform/statuses/{sha}","languages_url":"https://api.github.com/repos/fknipp/meteor-autoform/languages","stargazers_url":"https://api.github.com/repos/fknipp/meteor-autoform/stargazers","contributors_url":"https://api.github.com/repos/fknipp/meteor-autoform/contributors","subscribers_url":"https://api.github.com/repos/fknipp/meteor-autoform/subscribers","subscription_url":"https://api.github.com/repos/fknipp/meteor-autoform/subscription","commits_url":"https://api.github.com/repos/fknipp/meteor-autoform/commits{/sha}","git_commits_url":"https://api.github.com/repos/fknipp/meteor-autoform/git/commits{/sha}","comments_url":"https://api.github.com/repos/fknipp/meteor-autoform/comments{/number}","issue_comment_url":"https://api.github.com/repos/fknipp/meteor-autoform/issues/comments{/number}","contents_url":"https://api.github.com/repos/fknipp/meteor-autoform/contents/{+path}","compare_url":"https://api.github.com/repos/fknipp/meteor-autoform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fknipp/meteor-autoform/merges","archive_url":"https://api.github.com/repos/fknipp/meteor-autoform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fknipp/meteor-autoform/downloads","issues_url":"https://api.github.com/repos/fknipp/meteor-autoform/issues{/number}","pulls_url":"https://api.github.com/repos/fknipp/meteor-autoform/pulls{/number}","milestones_url":"https://api.github.com/repos/fknipp/meteor-autoform/milestones{/number}","notifications_url":"https://api.github.com/repos/fknipp/meteor-autoform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fknipp/meteor-autoform/labels{/name}","releases_url":"https://api.github.com/repos/fknipp/meteor-autoform/releases{/id}","created_at":"2015-05-13T06:16:33Z","updated_at":"2015-05-13T06:16:33Z","pushed_at":"2015-05-28T15:26:56Z","git_url":"git://github.com/fknipp/meteor-autoform.git","ssh_url":"git@github.com:fknipp/meteor-autoform.git","clone_url":"https://github.com/fknipp/meteor-autoform.git","svn_url":"https://github.com/fknipp/meteor-autoform","homepage":"http://autoform.meteor.com","size":1710,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"aldeed:master","ref":"master","sha":"ab27bffaf58de5b741489532866c789a35e7216c","user":{"login":"aldeed","id":3012067,"avatar_url":"https://avatars.githubusercontent.com/u/3012067?v=3","gravatar_id":"","url":"https://api.github.com/users/aldeed","html_url":"https://github.com/aldeed","followers_url":"https://api.github.com/users/aldeed/followers","following_url":"https://api.github.com/users/aldeed/following{/other_user}","gists_url":"https://api.github.com/users/aldeed/gists{/gist_id}","starred_url":"https://api.github.com/users/aldeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldeed/subscriptions","organizations_url":"https://api.github.com/users/aldeed/orgs","repos_url":"https://api.github.com/users/aldeed/repos","events_url":"https://api.github.com/users/aldeed/events{/privacy}","received_events_url":"https://api.github.com/users/aldeed/received_events","type":"User","site_admin":false},"repo":{"id":11591855,"name":"meteor-autoform","full_name":"aldeed/meteor-autoform","owner":{"login":"aldeed","id":3012067,"avatar_url":"https://avatars.githubusercontent.com/u/3012067?v=3","gravatar_id":"","url":"https://api.github.com/users/aldeed","html_url":"https://github.com/aldeed","followers_url":"https://api.github.com/users/aldeed/followers","following_url":"https://api.github.com/users/aldeed/following{/other_user}","gists_url":"https://api.github.com/users/aldeed/gists{/gist_id}","starred_url":"https://api.github.com/users/aldeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldeed/subscriptions","organizations_url":"https://api.github.com/users/aldeed/orgs","repos_url":"https://api.github.com/users/aldeed/repos","events_url":"https://api.github.com/users/aldeed/events{/privacy}","received_events_url":"https://api.github.com/users/aldeed/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aldeed/meteor-autoform","description":"AutoForm is a Meteor package that adds UI components and helpers to easily create basic forms with automatic insert and update events, and automatic reactive validation.","fork":false,"url":"https://api.github.com/repos/aldeed/meteor-autoform","forks_url":"https://api.github.com/repos/aldeed/meteor-autoform/forks","keys_url":"https://api.github.com/repos/aldeed/meteor-autoform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aldeed/meteor-autoform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aldeed/meteor-autoform/teams","hooks_url":"https://api.github.com/repos/aldeed/meteor-autoform/hooks","issue_events_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/events{/number}","events_url":"https://api.github.com/repos/aldeed/meteor-autoform/events","assignees_url":"https://api.github.com/repos/aldeed/meteor-autoform/assignees{/user}","branches_url":"https://api.github.com/repos/aldeed/meteor-autoform/branches{/branch}","tags_url":"https://api.github.com/repos/aldeed/meteor-autoform/tags","blobs_url":"https://api.github.com/repos/aldeed/meteor-autoform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aldeed/meteor-autoform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aldeed/meteor-autoform/git/refs{/sha}","trees_url":"https://api.github.com/repos/aldeed/meteor-autoform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aldeed/meteor-autoform/statuses/{sha}","languages_url":"https://api.github.com/repos/aldeed/meteor-autoform/languages","stargazers_url":"https://api.github.com/repos/aldeed/meteor-autoform/stargazers","contributors_url":"https://api.github.com/repos/aldeed/meteor-autoform/contributors","subscribers_url":"https://api.github.com/repos/aldeed/meteor-autoform/subscribers","subscription_url":"https://api.github.com/repos/aldeed/meteor-autoform/subscription","commits_url":"https://api.github.com/repos/aldeed/meteor-autoform/commits{/sha}","git_commits_url":"https://api.github.com/repos/aldeed/meteor-autoform/git/commits{/sha}","comments_url":"https://api.github.com/repos/aldeed/meteor-autoform/comments{/number}","issue_comment_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/comments{/number}","contents_url":"https://api.github.com/repos/aldeed/meteor-autoform/contents/{+path}","compare_url":"https://api.github.com/repos/aldeed/meteor-autoform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aldeed/meteor-autoform/merges","archive_url":"https://api.github.com/repos/aldeed/meteor-autoform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aldeed/meteor-autoform/downloads","issues_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues{/number}","pulls_url":"https://api.github.com/repos/aldeed/meteor-autoform/pulls{/number}","milestones_url":"https://api.github.com/repos/aldeed/meteor-autoform/milestones{/number}","notifications_url":"https://api.github.com/repos/aldeed/meteor-autoform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aldeed/meteor-autoform/labels{/name}","releases_url":"https://api.github.com/repos/aldeed/meteor-autoform/releases{/id}","created_at":"2013-07-22T20:36:29Z","updated_at":"2015-05-28T14:22:42Z","pushed_at":"2015-05-28T15:29:32Z","git_url":"git://github.com/aldeed/meteor-autoform.git","ssh_url":"git@github.com:aldeed/meteor-autoform.git","clone_url":"https://github.com/aldeed/meteor-autoform.git","svn_url":"https://github.com/aldeed/meteor-autoform","homepage":"http://autoform.meteor.com","size":5175,"stargazers_count":760,"watchers_count":760,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":145,"mirror_url":null,"open_issues_count":149,"forks":145,"open_issues":149,"watchers":760,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aldeed/meteor-autoform/pulls/939"},"html":{"href":"https://github.com/aldeed/meteor-autoform/pull/939"},"issue":{"href":"https://api.github.com/repos/aldeed/meteor-autoform/issues/939"},"comments":{"href":"https://api.github.com/repos/aldeed/meteor-autoform/issues/939/comments"},"review_comments":{"href":"https://api.github.com/repos/aldeed/meteor-autoform/pulls/939/comments"},"review_comment":{"href":"https://api.github.com/repos/aldeed/meteor-autoform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aldeed/meteor-autoform/pulls/939/commits"},"statuses":{"href":"https://api.github.com/repos/aldeed/meteor-autoform/statuses/b5286577799691f3a1c30eb4515063cf55b42647"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"aldeed","id":3012067,"avatar_url":"https://avatars.githubusercontent.com/u/3012067?v=3","gravatar_id":"","url":"https://api.github.com/users/aldeed","html_url":"https://github.com/aldeed","followers_url":"https://api.github.com/users/aldeed/followers","following_url":"https://api.github.com/users/aldeed/following{/other_user}","gists_url":"https://api.github.com/users/aldeed/gists{/gist_id}","starred_url":"https://api.github.com/users/aldeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldeed/subscriptions","organizations_url":"https://api.github.com/users/aldeed/orgs","repos_url":"https://api.github.com/users/aldeed/repos","events_url":"https://api.github.com/users/aldeed/events{/privacy}","received_events_url":"https://api.github.com/users/aldeed/received_events","type":"User","site_admin":false},"comments":1,"review_comments":3,"commits":4,"additions":39,"deletions":14,"changed_files":11}}