{"action":"created","issue":{"url":"https://api.github.com/repos/adamwathan/bootforms/issues/48","labels_url":"https://api.github.com/repos/adamwathan/bootforms/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/adamwathan/bootforms/issues/48/comments","events_url":"https://api.github.com/repos/adamwathan/bootforms/issues/48/events","html_url":"https://github.com/adamwathan/bootforms/issues/48","id":60300760,"number":48,"title":".form-group customization?","user":{"login":"JerseyMilker","id":5187394,"avatar_url":"https://avatars.githubusercontent.com/u/5187394?v=3","gravatar_id":"","url":"https://api.github.com/users/JerseyMilker","html_url":"https://github.com/JerseyMilker","followers_url":"https://api.github.com/users/JerseyMilker/followers","following_url":"https://api.github.com/users/JerseyMilker/following{/other_user}","gists_url":"https://api.github.com/users/JerseyMilker/gists{/gist_id}","starred_url":"https://api.github.com/users/JerseyMilker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JerseyMilker/subscriptions","organizations_url":"https://api.github.com/users/JerseyMilker/orgs","repos_url":"https://api.github.com/users/JerseyMilker/repos","events_url":"https://api.github.com/users/JerseyMilker/events{/privacy}","received_events_url":"https://api.github.com/users/JerseyMilker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-09T05:33:23Z","updated_at":"2015-03-09T17:36:32Z","closed_at":null,"body":"I often layout my forms using Bootstrap's grid system, ie) http://puu.sh/gsISV/575bc100fb.png\r\n\r\nWhat do you think of adding the following two methods?\r\n```\r\nBootForm::text('Name', 'name')->groupAttribute('class', 'form-group col-md-6')\r\nBootForm::text('Name', 'name')->groupAddClass('col-md-6')\r\n```\r\n\r\nEither of the above would output...\r\n```\r\n<div class=\"form-group col-md-6\">\r\n  ...\r\n</div>\r\n```\r\n\r\nYou can see I am mirroring the attribute() and addClass() methods you already have implemented, but for .form-group elements instead of .form-control elements.  I feel this would add more layout flexibility.  Thoughts?\r\n\r\nPS. Input groups would also be sick for those icons I have in there.  I see there's another issue open for that though ;)"},"comment":{"url":"https://api.github.com/repos/adamwathan/bootforms/issues/comments/77902949","html_url":"https://github.com/adamwathan/bootforms/issues/48#issuecomment-77902949","issue_url":"https://api.github.com/repos/adamwathan/bootforms/issues/48","id":77902949,"user":{"login":"JerseyMilker","id":5187394,"avatar_url":"https://avatars.githubusercontent.com/u/5187394?v=3","gravatar_id":"","url":"https://api.github.com/users/JerseyMilker","html_url":"https://github.com/JerseyMilker","followers_url":"https://api.github.com/users/JerseyMilker/followers","following_url":"https://api.github.com/users/JerseyMilker/following{/other_user}","gists_url":"https://api.github.com/users/JerseyMilker/gists{/gist_id}","starred_url":"https://api.github.com/users/JerseyMilker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JerseyMilker/subscriptions","organizations_url":"https://api.github.com/users/JerseyMilker/orgs","repos_url":"https://api.github.com/users/JerseyMilker/repos","events_url":"https://api.github.com/users/JerseyMilker/events{/privacy}","received_events_url":"https://api.github.com/users/JerseyMilker/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T17:36:32Z","updated_at":"2015-03-09T17:36:32Z","body":"Though I suppose this is not a big issue, since I can wrap with HTML for grid layouts.\r\n```\r\n<div class=\"col-md-6\">\r\n\t{!! BootForm::text('Name:', 'name') !!}\r\n</div>\r\n```\r\nFeel free to close this issue if you find my suggestion unnecessary."}}