{"action":"created","comment":{"url":"https://api.github.com/repos/Keman/card_app/pulls/comments/34351871","id":34351871,"diff_hunk":"@@ -0,0 +1,136 @@\n+# Use this setup block to configure all options available in SimpleForm.\n+SimpleForm.setup do |config|\n+  config.error_notification_class = 'alert alert-danger'\n+  config.button_class = 'btn btn-default'\n+  config.boolean_label_class = nil\n+\n+  config.wrappers :vertical_form, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|\n+    b.use :html5\n+    b.use :placeholder\n+    b.optional :maxlength\n+    b.optional :pattern\n+    b.optional :min_max\n+    b.optional :readonly\n+    b.use :label, class: 'control-label'\n+\n+    b.use :input, class: 'form-control'\n+    b.use :error, wrap_with: { tag: 'span', class: 'help-block' }\n+    b.use :hint,  wrap_with: { tag: 'p', class: 'help-block' }\n+  end\n+\n+  config.wrappers :vertical_file_input, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|\n+    b.use :html5\n+    b.use :placeholder\n+    b.optional :maxlength\n+    b.optional :readonly\n+    b.use :label, class: 'control-label'\n+\n+    b.use :input\n+    b.use :error, wrap_with: { tag: 'span', class: 'help-block' }\n+    b.use :hint,  wrap_with: { tag: 'p', class: 'help-block' }\n+  end\n+\n+  config.wrappers :vertical_boolean, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|\n+    b.use :html5\n+    b.optional :readonly\n+\n+    b.wrapper tag: 'div', class: 'checkbox' do |ba|\n+      ba.use :label_input\n+    end\n+\n+    b.use :error, wrap_with: { tag: 'span', class: 'help-block' }\n+    b.use :hint,  wrap_with: { tag: 'p', class: 'help-block' }\n+  end\n+\n+  config.wrappers :vertical_radio_and_checkboxes, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|\n+    b.use :html5\n+    b.optional :readonly\n+    b.use :label, class: 'control-label'\n+    b.use :input\n+    b.use :error, wrap_with: { tag: 'span', class: 'help-block' }\n+    b.use :hint,  wrap_with: { tag: 'p', class: 'help-block' }\n+  end\n+\n+  config.wrappers :horizontal_form, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|\n+    b.use :html5\n+    b.use :placeholder\n+    b.optional :maxlength\n+    b.optional :pattern\n+    b.optional :min_max\n+    b.optional :readonly\n+    b.use :label, class: 'col-sm-3 control-label'\n+\n+    b.wrapper tag: 'div', class: 'col-sm-9' do |ba|\n+      ba.use :input, class: 'form-control'\n+      ba.use :error, wrap_with: { tag: 'span', class: 'help-block' }\n+      ba.use :hint,  wrap_with: { tag: 'p', class: 'help-block' }\n+    end\n+  end\n+\n+  config.wrappers :horizontal_file_input, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|\n+    b.use :html5\n+    b.use :placeholder\n+    b.optional :maxlength\n+    b.optional :readonly\n+    b.use :label, class: 'col-sm-3 control-label'\n+\n+    b.wrapper tag: 'div', class: 'col-sm-9' do |ba|\n+      ba.use :input\n+      ba.use :error, wrap_with: { tag: 'span', class: 'help-block' }\n+      ba.use :hint,  wrap_with: { tag: 'p', class: 'help-block' }\n+    end\n+  end\n+\n+  config.wrappers :horizontal_boolean, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|\n+    b.use :html5\n+    b.optional :readonly\n+\n+    b.wrapper tag: 'div', class: 'col-sm-offset-3 col-sm-9' do |wr|\n+      wr.wrapper tag: 'div', class: 'checkbox' do |ba|\n+        ba.use :label_input, class: 'col-sm-9'\n+      end\n+\n+      wr.use :error, wrap_with: { tag: 'span', class: 'help-block' }\n+      wr.use :hint,  wrap_with: { tag: 'p', class: 'help-block' }\n+    end\n+  end\n+\n+  config.wrappers :horizontal_radio_and_checkboxes, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|\n+    b.use :html5\n+    b.optional :readonly\n+\n+    b.use :label, class: 'col-sm-3 control-label'\n+\n+    b.wrapper tag: 'div', class: 'col-sm-9' do |ba|\n+      ba.use :input\n+      ba.use :error, wrap_with: { tag: 'span', class: 'help-block' }\n+      ba.use :hint,  wrap_with: { tag: 'p', class: 'help-block' }\n+    end\n+  end\n+\n+  config.wrappers :inline_form, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|\n+    b.use :html5\n+    b.use :placeholder\n+    b.optional :maxlength\n+    b.optional :pattern\n+    b.optional :min_max\n+    b.optional :readonly\n+    b.use :label, class: 'sr-only'","path":"config/initializers/simple_form_bootstrap.rb","position":118,"original_position":118,"commit_id":"4769d5f2b847496e0afd4aa51a889715181b7f6f","original_commit_id":"4769d5f2b847496e0afd4aa51a889715181b7f6f","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-07-10T12:56:10Z","updated_at":"2015-07-10T12:56:10Z","html_url":"https://github.com/Keman/card_app/pull/3#discussion_r34351871","pull_request_url":"https://api.github.com/repos/Keman/card_app/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/Keman/card_app/pulls/comments/34351871"},"html":{"href":"https://github.com/Keman/card_app/pull/3#discussion_r34351871"},"pull_request":{"href":"https://api.github.com/repos/Keman/card_app/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/Keman/card_app/pulls/3","id":39196699,"html_url":"https://github.com/Keman/card_app/pull/3","diff_url":"https://github.com/Keman/card_app/pull/3.diff","patch_url":"https://github.com/Keman/card_app/pull/3.patch","issue_url":"https://api.github.com/repos/Keman/card_app/issues/3","number":3,"state":"open","locked":false,"title":"task-3","user":{"login":"Keman","id":686602,"avatar_url":"https://avatars.githubusercontent.com/u/686602?v=3","gravatar_id":"","url":"https://api.github.com/users/Keman","html_url":"https://github.com/Keman","followers_url":"https://api.github.com/users/Keman/followers","following_url":"https://api.github.com/users/Keman/following{/other_user}","gists_url":"https://api.github.com/users/Keman/gists{/gist_id}","starred_url":"https://api.github.com/users/Keman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keman/subscriptions","organizations_url":"https://api.github.com/users/Keman/orgs","repos_url":"https://api.github.com/users/Keman/repos","events_url":"https://api.github.com/users/Keman/events{/privacy}","received_events_url":"https://api.github.com/users/Keman/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-03T21:21:09Z","updated_at":"2015-07-10T12:56:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5395233d1d7cfc634f41b1f82cfc30fa2e2a609e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Keman/card_app/pulls/3/commits","review_comments_url":"https://api.github.com/repos/Keman/card_app/pulls/3/comments","review_comment_url":"https://api.github.com/repos/Keman/card_app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Keman/card_app/issues/3/comments","statuses_url":"https://api.github.com/repos/Keman/card_app/statuses/4769d5f2b847496e0afd4aa51a889715181b7f6f","head":{"label":"Keman:task-3","ref":"task-3","sha":"4769d5f2b847496e0afd4aa51a889715181b7f6f","user":{"login":"Keman","id":686602,"avatar_url":"https://avatars.githubusercontent.com/u/686602?v=3","gravatar_id":"","url":"https://api.github.com/users/Keman","html_url":"https://github.com/Keman","followers_url":"https://api.github.com/users/Keman/followers","following_url":"https://api.github.com/users/Keman/following{/other_user}","gists_url":"https://api.github.com/users/Keman/gists{/gist_id}","starred_url":"https://api.github.com/users/Keman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keman/subscriptions","organizations_url":"https://api.github.com/users/Keman/orgs","repos_url":"https://api.github.com/users/Keman/repos","events_url":"https://api.github.com/users/Keman/events{/privacy}","received_events_url":"https://api.github.com/users/Keman/received_events","type":"User","site_admin":false},"repo":{"id":37678950,"name":"card_app","full_name":"Keman/card_app","owner":{"login":"Keman","id":686602,"avatar_url":"https://avatars.githubusercontent.com/u/686602?v=3","gravatar_id":"","url":"https://api.github.com/users/Keman","html_url":"https://github.com/Keman","followers_url":"https://api.github.com/users/Keman/followers","following_url":"https://api.github.com/users/Keman/following{/other_user}","gists_url":"https://api.github.com/users/Keman/gists{/gist_id}","starred_url":"https://api.github.com/users/Keman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keman/subscriptions","organizations_url":"https://api.github.com/users/Keman/orgs","repos_url":"https://api.github.com/users/Keman/repos","events_url":"https://api.github.com/users/Keman/events{/privacy}","received_events_url":"https://api.github.com/users/Keman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Keman/card_app","description":"","fork":false,"url":"https://api.github.com/repos/Keman/card_app","forks_url":"https://api.github.com/repos/Keman/card_app/forks","keys_url":"https://api.github.com/repos/Keman/card_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Keman/card_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Keman/card_app/teams","hooks_url":"https://api.github.com/repos/Keman/card_app/hooks","issue_events_url":"https://api.github.com/repos/Keman/card_app/issues/events{/number}","events_url":"https://api.github.com/repos/Keman/card_app/events","assignees_url":"https://api.github.com/repos/Keman/card_app/assignees{/user}","branches_url":"https://api.github.com/repos/Keman/card_app/branches{/branch}","tags_url":"https://api.github.com/repos/Keman/card_app/tags","blobs_url":"https://api.github.com/repos/Keman/card_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Keman/card_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Keman/card_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/Keman/card_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Keman/card_app/statuses/{sha}","languages_url":"https://api.github.com/repos/Keman/card_app/languages","stargazers_url":"https://api.github.com/repos/Keman/card_app/stargazers","contributors_url":"https://api.github.com/repos/Keman/card_app/contributors","subscribers_url":"https://api.github.com/repos/Keman/card_app/subscribers","subscription_url":"https://api.github.com/repos/Keman/card_app/subscription","commits_url":"https://api.github.com/repos/Keman/card_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/Keman/card_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/Keman/card_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/Keman/card_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/Keman/card_app/contents/{+path}","compare_url":"https://api.github.com/repos/Keman/card_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Keman/card_app/merges","archive_url":"https://api.github.com/repos/Keman/card_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Keman/card_app/downloads","issues_url":"https://api.github.com/repos/Keman/card_app/issues{/number}","pulls_url":"https://api.github.com/repos/Keman/card_app/pulls{/number}","milestones_url":"https://api.github.com/repos/Keman/card_app/milestones{/number}","notifications_url":"https://api.github.com/repos/Keman/card_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Keman/card_app/labels{/name}","releases_url":"https://api.github.com/repos/Keman/card_app/releases{/id}","created_at":"2015-06-18T19:03:46Z","updated_at":"2015-06-23T11:42:00Z","pushed_at":"2015-07-10T12:56:05Z","git_url":"git://github.com/Keman/card_app.git","ssh_url":"git@github.com:Keman/card_app.git","clone_url":"https://github.com/Keman/card_app.git","svn_url":"https://github.com/Keman/card_app","homepage":null,"size":276,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Keman:master","ref":"master","sha":"f2f8730b174c17a8b9edf58d983186dd8516cf17","user":{"login":"Keman","id":686602,"avatar_url":"https://avatars.githubusercontent.com/u/686602?v=3","gravatar_id":"","url":"https://api.github.com/users/Keman","html_url":"https://github.com/Keman","followers_url":"https://api.github.com/users/Keman/followers","following_url":"https://api.github.com/users/Keman/following{/other_user}","gists_url":"https://api.github.com/users/Keman/gists{/gist_id}","starred_url":"https://api.github.com/users/Keman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keman/subscriptions","organizations_url":"https://api.github.com/users/Keman/orgs","repos_url":"https://api.github.com/users/Keman/repos","events_url":"https://api.github.com/users/Keman/events{/privacy}","received_events_url":"https://api.github.com/users/Keman/received_events","type":"User","site_admin":false},"repo":{"id":37678950,"name":"card_app","full_name":"Keman/card_app","owner":{"login":"Keman","id":686602,"avatar_url":"https://avatars.githubusercontent.com/u/686602?v=3","gravatar_id":"","url":"https://api.github.com/users/Keman","html_url":"https://github.com/Keman","followers_url":"https://api.github.com/users/Keman/followers","following_url":"https://api.github.com/users/Keman/following{/other_user}","gists_url":"https://api.github.com/users/Keman/gists{/gist_id}","starred_url":"https://api.github.com/users/Keman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keman/subscriptions","organizations_url":"https://api.github.com/users/Keman/orgs","repos_url":"https://api.github.com/users/Keman/repos","events_url":"https://api.github.com/users/Keman/events{/privacy}","received_events_url":"https://api.github.com/users/Keman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Keman/card_app","description":"","fork":false,"url":"https://api.github.com/repos/Keman/card_app","forks_url":"https://api.github.com/repos/Keman/card_app/forks","keys_url":"https://api.github.com/repos/Keman/card_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Keman/card_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Keman/card_app/teams","hooks_url":"https://api.github.com/repos/Keman/card_app/hooks","issue_events_url":"https://api.github.com/repos/Keman/card_app/issues/events{/number}","events_url":"https://api.github.com/repos/Keman/card_app/events","assignees_url":"https://api.github.com/repos/Keman/card_app/assignees{/user}","branches_url":"https://api.github.com/repos/Keman/card_app/branches{/branch}","tags_url":"https://api.github.com/repos/Keman/card_app/tags","blobs_url":"https://api.github.com/repos/Keman/card_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Keman/card_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Keman/card_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/Keman/card_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Keman/card_app/statuses/{sha}","languages_url":"https://api.github.com/repos/Keman/card_app/languages","stargazers_url":"https://api.github.com/repos/Keman/card_app/stargazers","contributors_url":"https://api.github.com/repos/Keman/card_app/contributors","subscribers_url":"https://api.github.com/repos/Keman/card_app/subscribers","subscription_url":"https://api.github.com/repos/Keman/card_app/subscription","commits_url":"https://api.github.com/repos/Keman/card_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/Keman/card_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/Keman/card_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/Keman/card_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/Keman/card_app/contents/{+path}","compare_url":"https://api.github.com/repos/Keman/card_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Keman/card_app/merges","archive_url":"https://api.github.com/repos/Keman/card_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Keman/card_app/downloads","issues_url":"https://api.github.com/repos/Keman/card_app/issues{/number}","pulls_url":"https://api.github.com/repos/Keman/card_app/pulls{/number}","milestones_url":"https://api.github.com/repos/Keman/card_app/milestones{/number}","notifications_url":"https://api.github.com/repos/Keman/card_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Keman/card_app/labels{/name}","releases_url":"https://api.github.com/repos/Keman/card_app/releases{/id}","created_at":"2015-06-18T19:03:46Z","updated_at":"2015-06-23T11:42:00Z","pushed_at":"2015-07-10T12:56:05Z","git_url":"git://github.com/Keman/card_app.git","ssh_url":"git@github.com:Keman/card_app.git","clone_url":"https://github.com/Keman/card_app.git","svn_url":"https://github.com/Keman/card_app","homepage":null,"size":276,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Keman/card_app/pulls/3"},"html":{"href":"https://github.com/Keman/card_app/pull/3"},"issue":{"href":"https://api.github.com/repos/Keman/card_app/issues/3"},"comments":{"href":"https://api.github.com/repos/Keman/card_app/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/Keman/card_app/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/Keman/card_app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Keman/card_app/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/Keman/card_app/statuses/4769d5f2b847496e0afd4aa51a889715181b7f6f"}}}}