{"action":"created","comment":{"url":"https://api.github.com/repos/SumOfUs/Champaign/pulls/comments/29944979","id":29944979,"diff_hunk":"@@ -0,0 +1,18 @@\n+= form_for @template do |f|\n+  div.form-control\n+    = f.label :template_name\n+    =< f.text_field :template_name\n+  div.form-control\n+    => f.check_box :active\n+    = f.label :active\n+  hr\n+  div.form-control\n+    = f.label 'Widget Types in this Template:'\n+    br\n+  div.form-control\n+    = fields_for @widget_types do |widget_fields|\n+      - @widget_types.each do |widget_type|\n+        =< check_box_tag 'widget_types[]', widget_type.id\n+        => widget_fields.label widget_type.widget_name\n+  div.form-control\n+    = f.submit 'Save Template', class: 'btn btn-sm btn-primary'","path":"app/views/templates/_form.slim","position":18,"original_position":18,"commit_id":"c34e973e8d7d2f8b5748320c43d57ecdfff169aa","original_commit_id":"c34e973e8d7d2f8b5748320c43d57ecdfff169aa","user":{"login":"Tuuleh","id":6524052,"avatar_url":"https://avatars.githubusercontent.com/u/6524052?v=3","gravatar_id":"","url":"https://api.github.com/users/Tuuleh","html_url":"https://github.com/Tuuleh","followers_url":"https://api.github.com/users/Tuuleh/followers","following_url":"https://api.github.com/users/Tuuleh/following{/other_user}","gists_url":"https://api.github.com/users/Tuuleh/gists{/gist_id}","starred_url":"https://api.github.com/users/Tuuleh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tuuleh/subscriptions","organizations_url":"https://api.github.com/users/Tuuleh/orgs","repos_url":"https://api.github.com/users/Tuuleh/repos","events_url":"https://api.github.com/users/Tuuleh/events{/privacy}","received_events_url":"https://api.github.com/users/Tuuleh/received_events","type":"User","site_admin":false},"body":"Add newline","created_at":"2015-05-08T14:43:58Z","updated_at":"2015-05-08T14:43:58Z","html_url":"https://github.com/SumOfUs/Champaign/pull/5#discussion_r29944979","pull_request_url":"https://api.github.com/repos/SumOfUs/Champaign/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/SumOfUs/Champaign/pulls/comments/29944979"},"html":{"href":"https://github.com/SumOfUs/Champaign/pull/5#discussion_r29944979"},"pull_request":{"href":"https://api.github.com/repos/SumOfUs/Champaign/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/SumOfUs/Champaign/pulls/5","id":35014068,"html_url":"https://github.com/SumOfUs/Champaign/pull/5","diff_url":"https://github.com/SumOfUs/Champaign/pull/5.diff","patch_url":"https://github.com/SumOfUs/Champaign/pull/5.patch","issue_url":"https://api.github.com/repos/SumOfUs/Champaign/issues/5","number":5,"state":"open","locked":false,"title":"Lookup table templates","user":{"login":"Tuuleh","id":6524052,"avatar_url":"https://avatars.githubusercontent.com/u/6524052?v=3","gravatar_id":"","url":"https://api.github.com/users/Tuuleh","html_url":"https://github.com/Tuuleh","followers_url":"https://api.github.com/users/Tuuleh/followers","following_url":"https://api.github.com/users/Tuuleh/following{/other_user}","gists_url":"https://api.github.com/users/Tuuleh/gists{/gist_id}","starred_url":"https://api.github.com/users/Tuuleh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tuuleh/subscriptions","organizations_url":"https://api.github.com/users/Tuuleh/orgs","repos_url":"https://api.github.com/users/Tuuleh/repos","events_url":"https://api.github.com/users/Tuuleh/events{/privacy}","received_events_url":"https://api.github.com/users/Tuuleh/received_events","type":"User","site_admin":false},"body":"This PR mostly consists of changes made to enable creation of campaign pages by loading template layouts.","created_at":"2015-05-08T14:33:06Z","updated_at":"2015-05-08T14:43:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SumOfUs/Champaign/pulls/5/commits","review_comments_url":"https://api.github.com/repos/SumOfUs/Champaign/pulls/5/comments","review_comment_url":"https://api.github.com/repos/SumOfUs/Champaign/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SumOfUs/Champaign/issues/5/comments","statuses_url":"https://api.github.com/repos/SumOfUs/Champaign/statuses/c34e973e8d7d2f8b5748320c43d57ecdfff169aa","head":{"label":"SumOfUs:lookup-table-templates","ref":"lookup-table-templates","sha":"c34e973e8d7d2f8b5748320c43d57ecdfff169aa","user":{"login":"SumOfUs","id":7574652,"avatar_url":"https://avatars.githubusercontent.com/u/7574652?v=3","gravatar_id":"","url":"https://api.github.com/users/SumOfUs","html_url":"https://github.com/SumOfUs","followers_url":"https://api.github.com/users/SumOfUs/followers","following_url":"https://api.github.com/users/SumOfUs/following{/other_user}","gists_url":"https://api.github.com/users/SumOfUs/gists{/gist_id}","starred_url":"https://api.github.com/users/SumOfUs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SumOfUs/subscriptions","organizations_url":"https://api.github.com/users/SumOfUs/orgs","repos_url":"https://api.github.com/users/SumOfUs/repos","events_url":"https://api.github.com/users/SumOfUs/events{/privacy}","received_events_url":"https://api.github.com/users/SumOfUs/received_events","type":"Organization","site_admin":false},"repo":{"id":33684818,"name":"Champaign","full_name":"SumOfUs/Champaign","owner":{"login":"SumOfUs","id":7574652,"avatar_url":"https://avatars.githubusercontent.com/u/7574652?v=3","gravatar_id":"","url":"https://api.github.com/users/SumOfUs","html_url":"https://github.com/SumOfUs","followers_url":"https://api.github.com/users/SumOfUs/followers","following_url":"https://api.github.com/users/SumOfUs/following{/other_user}","gists_url":"https://api.github.com/users/SumOfUs/gists{/gist_id}","starred_url":"https://api.github.com/users/SumOfUs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SumOfUs/subscriptions","organizations_url":"https://api.github.com/users/SumOfUs/orgs","repos_url":"https://api.github.com/users/SumOfUs/repos","events_url":"https://api.github.com/users/SumOfUs/events{/privacy}","received_events_url":"https://api.github.com/users/SumOfUs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SumOfUs/Champaign","description":"SumOfUs Online Campaign Platform.","fork":false,"url":"https://api.github.com/repos/SumOfUs/Champaign","forks_url":"https://api.github.com/repos/SumOfUs/Champaign/forks","keys_url":"https://api.github.com/repos/SumOfUs/Champaign/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SumOfUs/Champaign/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SumOfUs/Champaign/teams","hooks_url":"https://api.github.com/repos/SumOfUs/Champaign/hooks","issue_events_url":"https://api.github.com/repos/SumOfUs/Champaign/issues/events{/number}","events_url":"https://api.github.com/repos/SumOfUs/Champaign/events","assignees_url":"https://api.github.com/repos/SumOfUs/Champaign/assignees{/user}","branches_url":"https://api.github.com/repos/SumOfUs/Champaign/branches{/branch}","tags_url":"https://api.github.com/repos/SumOfUs/Champaign/tags","blobs_url":"https://api.github.com/repos/SumOfUs/Champaign/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SumOfUs/Champaign/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SumOfUs/Champaign/git/refs{/sha}","trees_url":"https://api.github.com/repos/SumOfUs/Champaign/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SumOfUs/Champaign/statuses/{sha}","languages_url":"https://api.github.com/repos/SumOfUs/Champaign/languages","stargazers_url":"https://api.github.com/repos/SumOfUs/Champaign/stargazers","contributors_url":"https://api.github.com/repos/SumOfUs/Champaign/contributors","subscribers_url":"https://api.github.com/repos/SumOfUs/Champaign/subscribers","subscription_url":"https://api.github.com/repos/SumOfUs/Champaign/subscription","commits_url":"https://api.github.com/repos/SumOfUs/Champaign/commits{/sha}","git_commits_url":"https://api.github.com/repos/SumOfUs/Champaign/git/commits{/sha}","comments_url":"https://api.github.com/repos/SumOfUs/Champaign/comments{/number}","issue_comment_url":"https://api.github.com/repos/SumOfUs/Champaign/issues/comments{/number}","contents_url":"https://api.github.com/repos/SumOfUs/Champaign/contents/{+path}","compare_url":"https://api.github.com/repos/SumOfUs/Champaign/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SumOfUs/Champaign/merges","archive_url":"https://api.github.com/repos/SumOfUs/Champaign/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SumOfUs/Champaign/downloads","issues_url":"https://api.github.com/repos/SumOfUs/Champaign/issues{/number}","pulls_url":"https://api.github.com/repos/SumOfUs/Champaign/pulls{/number}","milestones_url":"https://api.github.com/repos/SumOfUs/Champaign/milestones{/number}","notifications_url":"https://api.github.com/repos/SumOfUs/Champaign/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SumOfUs/Champaign/labels{/name}","releases_url":"https://api.github.com/repos/SumOfUs/Champaign/releases{/id}","created_at":"2015-04-09T18:16:20Z","updated_at":"2015-04-29T13:17:23Z","pushed_at":"2015-05-08T14:40:42Z","git_url":"git://github.com/SumOfUs/Champaign.git","ssh_url":"git@github.com:SumOfUs/Champaign.git","clone_url":"https://github.com/SumOfUs/Champaign.git","svn_url":"https://github.com/SumOfUs/Champaign","homepage":null,"size":500,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"SumOfUs:master","ref":"master","sha":"7f1fb884e528d77cc48b818e5b9e0fa912a65d71","user":{"login":"SumOfUs","id":7574652,"avatar_url":"https://avatars.githubusercontent.com/u/7574652?v=3","gravatar_id":"","url":"https://api.github.com/users/SumOfUs","html_url":"https://github.com/SumOfUs","followers_url":"https://api.github.com/users/SumOfUs/followers","following_url":"https://api.github.com/users/SumOfUs/following{/other_user}","gists_url":"https://api.github.com/users/SumOfUs/gists{/gist_id}","starred_url":"https://api.github.com/users/SumOfUs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SumOfUs/subscriptions","organizations_url":"https://api.github.com/users/SumOfUs/orgs","repos_url":"https://api.github.com/users/SumOfUs/repos","events_url":"https://api.github.com/users/SumOfUs/events{/privacy}","received_events_url":"https://api.github.com/users/SumOfUs/received_events","type":"Organization","site_admin":false},"repo":{"id":33684818,"name":"Champaign","full_name":"SumOfUs/Champaign","owner":{"login":"SumOfUs","id":7574652,"avatar_url":"https://avatars.githubusercontent.com/u/7574652?v=3","gravatar_id":"","url":"https://api.github.com/users/SumOfUs","html_url":"https://github.com/SumOfUs","followers_url":"https://api.github.com/users/SumOfUs/followers","following_url":"https://api.github.com/users/SumOfUs/following{/other_user}","gists_url":"https://api.github.com/users/SumOfUs/gists{/gist_id}","starred_url":"https://api.github.com/users/SumOfUs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SumOfUs/subscriptions","organizations_url":"https://api.github.com/users/SumOfUs/orgs","repos_url":"https://api.github.com/users/SumOfUs/repos","events_url":"https://api.github.com/users/SumOfUs/events{/privacy}","received_events_url":"https://api.github.com/users/SumOfUs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SumOfUs/Champaign","description":"SumOfUs Online Campaign Platform.","fork":false,"url":"https://api.github.com/repos/SumOfUs/Champaign","forks_url":"https://api.github.com/repos/SumOfUs/Champaign/forks","keys_url":"https://api.github.com/repos/SumOfUs/Champaign/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SumOfUs/Champaign/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SumOfUs/Champaign/teams","hooks_url":"https://api.github.com/repos/SumOfUs/Champaign/hooks","issue_events_url":"https://api.github.com/repos/SumOfUs/Champaign/issues/events{/number}","events_url":"https://api.github.com/repos/SumOfUs/Champaign/events","assignees_url":"https://api.github.com/repos/SumOfUs/Champaign/assignees{/user}","branches_url":"https://api.github.com/repos/SumOfUs/Champaign/branches{/branch}","tags_url":"https://api.github.com/repos/SumOfUs/Champaign/tags","blobs_url":"https://api.github.com/repos/SumOfUs/Champaign/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SumOfUs/Champaign/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SumOfUs/Champaign/git/refs{/sha}","trees_url":"https://api.github.com/repos/SumOfUs/Champaign/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SumOfUs/Champaign/statuses/{sha}","languages_url":"https://api.github.com/repos/SumOfUs/Champaign/languages","stargazers_url":"https://api.github.com/repos/SumOfUs/Champaign/stargazers","contributors_url":"https://api.github.com/repos/SumOfUs/Champaign/contributors","subscribers_url":"https://api.github.com/repos/SumOfUs/Champaign/subscribers","subscription_url":"https://api.github.com/repos/SumOfUs/Champaign/subscription","commits_url":"https://api.github.com/repos/SumOfUs/Champaign/commits{/sha}","git_commits_url":"https://api.github.com/repos/SumOfUs/Champaign/git/commits{/sha}","comments_url":"https://api.github.com/repos/SumOfUs/Champaign/comments{/number}","issue_comment_url":"https://api.github.com/repos/SumOfUs/Champaign/issues/comments{/number}","contents_url":"https://api.github.com/repos/SumOfUs/Champaign/contents/{+path}","compare_url":"https://api.github.com/repos/SumOfUs/Champaign/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SumOfUs/Champaign/merges","archive_url":"https://api.github.com/repos/SumOfUs/Champaign/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SumOfUs/Champaign/downloads","issues_url":"https://api.github.com/repos/SumOfUs/Champaign/issues{/number}","pulls_url":"https://api.github.com/repos/SumOfUs/Champaign/pulls{/number}","milestones_url":"https://api.github.com/repos/SumOfUs/Champaign/milestones{/number}","notifications_url":"https://api.github.com/repos/SumOfUs/Champaign/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SumOfUs/Champaign/labels{/name}","releases_url":"https://api.github.com/repos/SumOfUs/Champaign/releases{/id}","created_at":"2015-04-09T18:16:20Z","updated_at":"2015-04-29T13:17:23Z","pushed_at":"2015-05-08T14:40:42Z","git_url":"git://github.com/SumOfUs/Champaign.git","ssh_url":"git@github.com:SumOfUs/Champaign.git","clone_url":"https://github.com/SumOfUs/Champaign.git","svn_url":"https://github.com/SumOfUs/Champaign","homepage":null,"size":500,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SumOfUs/Champaign/pulls/5"},"html":{"href":"https://github.com/SumOfUs/Champaign/pull/5"},"issue":{"href":"https://api.github.com/repos/SumOfUs/Champaign/issues/5"},"comments":{"href":"https://api.github.com/repos/SumOfUs/Champaign/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/SumOfUs/Champaign/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/SumOfUs/Champaign/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SumOfUs/Champaign/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/SumOfUs/Champaign/statuses/c34e973e8d7d2f8b5748320c43d57ecdfff169aa"}}}}