{"action":"created","comment":{"url":"https://api.github.com/repos/iiylll/flashcards/pulls/comments/41102803","id":41102803,"diff_hunk":"@@ -0,0 +1,45 @@\n+# Use this setup block to configure all options available in SimpleForm.\n+SimpleForm.setup do |config|\n+  config.wrappers :bootstrap, tag: 'div', class: 'control-group', error_class: 'error' do |b|\n+    b.use :html5\n+    b.use :placeholder\n+    b.use :label\n+    b.wrapper tag: 'div', class: 'controls' do |ba|\n+      ba.use :input\n+      ba.use :error, wrap_with: { tag: 'span', class: 'help-inline' }\n+      ba.use :hint,  wrap_with: { tag: 'p', class: 'help-block' }\n+    end\n+  end\n+\n+  config.wrappers :prepend, tag: 'div', class: \"control-group\", error_class: 'error' do |b|\n+    b.use :html5\n+    b.use :placeholder\n+    b.use :label\n+    b.wrapper tag: 'div', class: 'controls' do |input|\n+      input.wrapper tag: 'div', class: 'input-prepend' do |prepend|\n+        prepend.use :input\n+      end\n+      input.use :hint,  wrap_with: { tag: 'span', class: 'help-block' }\n+      input.use :error, wrap_with: { tag: 'span', class: 'help-inline' }\n+    end\n+  end\n+\n+  config.wrappers :append, tag: 'div', class: \"control-group\", error_class: 'error' do |b|\n+    b.use :html5\n+    b.use :placeholder\n+    b.use :label\n+    b.wrapper tag: 'div', class: 'controls' do |input|\n+      input.wrapper tag: 'div', class: 'input-append' do |append|\n+        append.use :input\n+      end\n+      input.use :hint,  wrap_with: { tag: 'span', class: 'help-block' }\n+      input.use :error, wrap_with: { tag: 'span', class: 'help-inline' }","path":"config/initializers/simple_form_bootstrap.rb","position":36,"original_position":36,"commit_id":"5e04a749bf9e6636b57db1c3489782ec7c5fcdeb","original_commit_id":"5e04a749bf9e6636b57db1c3489782ec7c5fcdeb","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-10-04T21:40:25Z","updated_at":"2015-10-04T21:40:25Z","html_url":"https://github.com/iiylll/flashcards/pull/4#discussion_r41102803","pull_request_url":"https://api.github.com/repos/iiylll/flashcards/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/iiylll/flashcards/pulls/comments/41102803"},"html":{"href":"https://github.com/iiylll/flashcards/pull/4#discussion_r41102803"},"pull_request":{"href":"https://api.github.com/repos/iiylll/flashcards/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/iiylll/flashcards/pulls/4","id":46733972,"html_url":"https://github.com/iiylll/flashcards/pull/4","diff_url":"https://github.com/iiylll/flashcards/pull/4.diff","patch_url":"https://github.com/iiylll/flashcards/pull/4.patch","issue_url":"https://api.github.com/repos/iiylll/flashcards/issues/4","number":4,"state":"open","locked":false,"title":"REST for card","user":{"login":"iiylll","id":2644091,"avatar_url":"https://avatars.githubusercontent.com/u/2644091?v=3","gravatar_id":"","url":"https://api.github.com/users/iiylll","html_url":"https://github.com/iiylll","followers_url":"https://api.github.com/users/iiylll/followers","following_url":"https://api.github.com/users/iiylll/following{/other_user}","gists_url":"https://api.github.com/users/iiylll/gists{/gist_id}","starred_url":"https://api.github.com/users/iiylll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iiylll/subscriptions","organizations_url":"https://api.github.com/users/iiylll/orgs","repos_url":"https://api.github.com/users/iiylll/repos","events_url":"https://api.github.com/users/iiylll/events{/privacy}","received_events_url":"https://api.github.com/users/iiylll/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-04T21:40:18Z","updated_at":"2015-10-04T21:40:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aeaf2cbf09742462a14be2cb34baad48fee679ad","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iiylll/flashcards/pulls/4/commits","review_comments_url":"https://api.github.com/repos/iiylll/flashcards/pulls/4/comments","review_comment_url":"https://api.github.com/repos/iiylll/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iiylll/flashcards/issues/4/comments","statuses_url":"https://api.github.com/repos/iiylll/flashcards/statuses/5e04a749bf9e6636b57db1c3489782ec7c5fcdeb","head":{"label":"iiylll:fourth-task","ref":"fourth-task","sha":"5e04a749bf9e6636b57db1c3489782ec7c5fcdeb","user":{"login":"iiylll","id":2644091,"avatar_url":"https://avatars.githubusercontent.com/u/2644091?v=3","gravatar_id":"","url":"https://api.github.com/users/iiylll","html_url":"https://github.com/iiylll","followers_url":"https://api.github.com/users/iiylll/followers","following_url":"https://api.github.com/users/iiylll/following{/other_user}","gists_url":"https://api.github.com/users/iiylll/gists{/gist_id}","starred_url":"https://api.github.com/users/iiylll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iiylll/subscriptions","organizations_url":"https://api.github.com/users/iiylll/orgs","repos_url":"https://api.github.com/users/iiylll/repos","events_url":"https://api.github.com/users/iiylll/events{/privacy}","received_events_url":"https://api.github.com/users/iiylll/received_events","type":"User","site_admin":false},"repo":{"id":43640877,"name":"flashcards","full_name":"iiylll/flashcards","owner":{"login":"iiylll","id":2644091,"avatar_url":"https://avatars.githubusercontent.com/u/2644091?v=3","gravatar_id":"","url":"https://api.github.com/users/iiylll","html_url":"https://github.com/iiylll","followers_url":"https://api.github.com/users/iiylll/followers","following_url":"https://api.github.com/users/iiylll/following{/other_user}","gists_url":"https://api.github.com/users/iiylll/gists{/gist_id}","starred_url":"https://api.github.com/users/iiylll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iiylll/subscriptions","organizations_url":"https://api.github.com/users/iiylll/orgs","repos_url":"https://api.github.com/users/iiylll/repos","events_url":"https://api.github.com/users/iiylll/events{/privacy}","received_events_url":"https://api.github.com/users/iiylll/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iiylll/flashcards","description":"Flash Cards","fork":false,"url":"https://api.github.com/repos/iiylll/flashcards","forks_url":"https://api.github.com/repos/iiylll/flashcards/forks","keys_url":"https://api.github.com/repos/iiylll/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iiylll/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iiylll/flashcards/teams","hooks_url":"https://api.github.com/repos/iiylll/flashcards/hooks","issue_events_url":"https://api.github.com/repos/iiylll/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/iiylll/flashcards/events","assignees_url":"https://api.github.com/repos/iiylll/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/iiylll/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/iiylll/flashcards/tags","blobs_url":"https://api.github.com/repos/iiylll/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iiylll/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iiylll/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/iiylll/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iiylll/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/iiylll/flashcards/languages","stargazers_url":"https://api.github.com/repos/iiylll/flashcards/stargazers","contributors_url":"https://api.github.com/repos/iiylll/flashcards/contributors","subscribers_url":"https://api.github.com/repos/iiylll/flashcards/subscribers","subscription_url":"https://api.github.com/repos/iiylll/flashcards/subscription","commits_url":"https://api.github.com/repos/iiylll/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/iiylll/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/iiylll/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/iiylll/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/iiylll/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/iiylll/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iiylll/flashcards/merges","archive_url":"https://api.github.com/repos/iiylll/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iiylll/flashcards/downloads","issues_url":"https://api.github.com/repos/iiylll/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/iiylll/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/iiylll/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/iiylll/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iiylll/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/iiylll/flashcards/releases{/id}","created_at":"2015-10-04T15:23:30Z","updated_at":"2015-10-04T15:32:14Z","pushed_at":"2015-10-04T21:40:18Z","git_url":"git://github.com/iiylll/flashcards.git","ssh_url":"git@github.com:iiylll/flashcards.git","clone_url":"https://github.com/iiylll/flashcards.git","svn_url":"https://github.com/iiylll/flashcards","homepage":null,"size":0,"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":"iiylll:master","ref":"master","sha":"119e90ebce104028848403932d0d5f216f7b8162","user":{"login":"iiylll","id":2644091,"avatar_url":"https://avatars.githubusercontent.com/u/2644091?v=3","gravatar_id":"","url":"https://api.github.com/users/iiylll","html_url":"https://github.com/iiylll","followers_url":"https://api.github.com/users/iiylll/followers","following_url":"https://api.github.com/users/iiylll/following{/other_user}","gists_url":"https://api.github.com/users/iiylll/gists{/gist_id}","starred_url":"https://api.github.com/users/iiylll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iiylll/subscriptions","organizations_url":"https://api.github.com/users/iiylll/orgs","repos_url":"https://api.github.com/users/iiylll/repos","events_url":"https://api.github.com/users/iiylll/events{/privacy}","received_events_url":"https://api.github.com/users/iiylll/received_events","type":"User","site_admin":false},"repo":{"id":43640877,"name":"flashcards","full_name":"iiylll/flashcards","owner":{"login":"iiylll","id":2644091,"avatar_url":"https://avatars.githubusercontent.com/u/2644091?v=3","gravatar_id":"","url":"https://api.github.com/users/iiylll","html_url":"https://github.com/iiylll","followers_url":"https://api.github.com/users/iiylll/followers","following_url":"https://api.github.com/users/iiylll/following{/other_user}","gists_url":"https://api.github.com/users/iiylll/gists{/gist_id}","starred_url":"https://api.github.com/users/iiylll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iiylll/subscriptions","organizations_url":"https://api.github.com/users/iiylll/orgs","repos_url":"https://api.github.com/users/iiylll/repos","events_url":"https://api.github.com/users/iiylll/events{/privacy}","received_events_url":"https://api.github.com/users/iiylll/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iiylll/flashcards","description":"Flash Cards","fork":false,"url":"https://api.github.com/repos/iiylll/flashcards","forks_url":"https://api.github.com/repos/iiylll/flashcards/forks","keys_url":"https://api.github.com/repos/iiylll/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iiylll/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iiylll/flashcards/teams","hooks_url":"https://api.github.com/repos/iiylll/flashcards/hooks","issue_events_url":"https://api.github.com/repos/iiylll/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/iiylll/flashcards/events","assignees_url":"https://api.github.com/repos/iiylll/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/iiylll/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/iiylll/flashcards/tags","blobs_url":"https://api.github.com/repos/iiylll/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iiylll/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iiylll/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/iiylll/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iiylll/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/iiylll/flashcards/languages","stargazers_url":"https://api.github.com/repos/iiylll/flashcards/stargazers","contributors_url":"https://api.github.com/repos/iiylll/flashcards/contributors","subscribers_url":"https://api.github.com/repos/iiylll/flashcards/subscribers","subscription_url":"https://api.github.com/repos/iiylll/flashcards/subscription","commits_url":"https://api.github.com/repos/iiylll/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/iiylll/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/iiylll/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/iiylll/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/iiylll/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/iiylll/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iiylll/flashcards/merges","archive_url":"https://api.github.com/repos/iiylll/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iiylll/flashcards/downloads","issues_url":"https://api.github.com/repos/iiylll/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/iiylll/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/iiylll/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/iiylll/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iiylll/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/iiylll/flashcards/releases{/id}","created_at":"2015-10-04T15:23:30Z","updated_at":"2015-10-04T15:32:14Z","pushed_at":"2015-10-04T21:40:18Z","git_url":"git://github.com/iiylll/flashcards.git","ssh_url":"git@github.com:iiylll/flashcards.git","clone_url":"https://github.com/iiylll/flashcards.git","svn_url":"https://github.com/iiylll/flashcards","homepage":null,"size":0,"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/iiylll/flashcards/pulls/4"},"html":{"href":"https://github.com/iiylll/flashcards/pull/4"},"issue":{"href":"https://api.github.com/repos/iiylll/flashcards/issues/4"},"comments":{"href":"https://api.github.com/repos/iiylll/flashcards/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/iiylll/flashcards/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/iiylll/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iiylll/flashcards/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/iiylll/flashcards/statuses/5e04a749bf9e6636b57db1c3489782ec7c5fcdeb"}}}}