{"action":"created","comment":{"url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/pulls/comments/78954098","id":78954098,"diff_hunk":"@@ -22,6 +25,12 @@\n           = f.collection_select :external_user_id, @provider.advocates, :id, :name_and_number, { include_blank: '&#160;'.html_safe }, {class: 'form-control autocomplete'}\n           = validation_error_message(@error_presenter, :external_user)\n \n+        .form-col\n+          = f.adp_text_field :providers_ref, label: t('.providers_ref'), errors: @error_presenter\n+\n+    - else\n+      = f.adp_text_field :providers_ref, label: t('.providers_ref'), errors: @error_presenter","path":"app/views/external_users/claims/case_details/_fields.html.haml","position":18,"original_position":18,"commit_id":"c0c7998356d9327387dcf21d4532dcee003c021f","original_commit_id":"c0c7998356d9327387dcf21d4532dcee003c021f","user":{"login":"zheileman","id":687910,"avatar_url":"https://avatars.githubusercontent.com/u/687910?v=3","gravatar_id":"","url":"https://api.github.com/users/zheileman","html_url":"https://github.com/zheileman","followers_url":"https://api.github.com/users/zheileman/followers","following_url":"https://api.github.com/users/zheileman/following{/other_user}","gists_url":"https://api.github.com/users/zheileman/gists{/gist_id}","starred_url":"https://api.github.com/users/zheileman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zheileman/subscriptions","organizations_url":"https://api.github.com/users/zheileman/orgs","repos_url":"https://api.github.com/users/zheileman/repos","events_url":"https://api.github.com/users/zheileman/events{/privacy}","received_events_url":"https://api.github.com/users/zheileman/received_events","type":"User","site_admin":false},"body":"I think we might need a .form-col here as it looks weird and too big otherwise and probably we can make it so there is no need to duplicate this line of code.\r\n\r\n<img width=\"571\" alt=\"screen shot 2016-09-15 at 13 40 41\" src=\"https://cloud.githubusercontent.com/assets/687910/18550112/358e5584-7b4a-11e6-8419-98ee47cf9872.png\">\r\n","created_at":"2016-09-15T12:44:11Z","updated_at":"2016-09-15T12:44:53Z","html_url":"https://github.com/ministryofjustice/advocate-defence-payments/pull/1781#discussion_r78954098","pull_request_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/pulls/1781","_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/pulls/comments/78954098"},"html":{"href":"https://github.com/ministryofjustice/advocate-defence-payments/pull/1781#discussion_r78954098"},"pull_request":{"href":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/pulls/1781"}}},"pull_request":{"url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/pulls/1781","id":85385245,"html_url":"https://github.com/ministryofjustice/advocate-defence-payments/pull/1781","diff_url":"https://github.com/ministryofjustice/advocate-defence-payments/pull/1781.diff","patch_url":"https://github.com/ministryofjustice/advocate-defence-payments/pull/1781.patch","issue_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/issues/1781","number":1781,"state":"open","locked":false,"title":"Add Provider reference to Claims","user":{"login":"stephenrichards","id":115617,"avatar_url":"https://avatars.githubusercontent.com/u/115617?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenrichards","html_url":"https://github.com/stephenrichards","followers_url":"https://api.github.com/users/stephenrichards/followers","following_url":"https://api.github.com/users/stephenrichards/following{/other_user}","gists_url":"https://api.github.com/users/stephenrichards/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenrichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenrichards/subscriptions","organizations_url":"https://api.github.com/users/stephenrichards/orgs","repos_url":"https://api.github.com/users/stephenrichards/repos","events_url":"https://api.github.com/users/stephenrichards/events{/privacy}","received_events_url":"https://api.github.com/users/stephenrichards/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-15T11:14:04Z","updated_at":"2016-09-15T12:44:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1c0df69e8370858a026ed745a331fce849e4dc84","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/pulls/1781/commits","review_comments_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/pulls/1781/comments","review_comment_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/issues/1781/comments","statuses_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/statuses/c0c7998356d9327387dcf21d4532dcee003c021f","head":{"label":"ministryofjustice:providers-ref","ref":"providers-ref","sha":"c0c7998356d9327387dcf21d4532dcee003c021f","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":32451549,"name":"advocate-defence-payments","full_name":"ministryofjustice/advocate-defence-payments","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/advocate-defence-payments","description":"Claim for crown court defence","fork":false,"url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments","forks_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/forks","keys_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/events","assignees_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/merges","archive_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/deployments","created_at":"2015-03-18T10:10:18Z","updated_at":"2016-03-17T13:20:38Z","pushed_at":"2016-09-15T12:06:35Z","git_url":"git://github.com/ministryofjustice/advocate-defence-payments.git","ssh_url":"git@github.com:ministryofjustice/advocate-defence-payments.git","clone_url":"https://github.com/ministryofjustice/advocate-defence-payments.git","svn_url":"https://github.com/ministryofjustice/advocate-defence-payments","homepage":"","size":14173,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":21,"forks":2,"open_issues":21,"watchers":3,"default_branch":"develop"}},"base":{"label":"ministryofjustice:develop","ref":"develop","sha":"2bbc5374532492510a9134d0cd2d760b4f65e51b","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":32451549,"name":"advocate-defence-payments","full_name":"ministryofjustice/advocate-defence-payments","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/advocate-defence-payments","description":"Claim for crown court defence","fork":false,"url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments","forks_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/forks","keys_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/events","assignees_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/merges","archive_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/deployments","created_at":"2015-03-18T10:10:18Z","updated_at":"2016-03-17T13:20:38Z","pushed_at":"2016-09-15T12:06:35Z","git_url":"git://github.com/ministryofjustice/advocate-defence-payments.git","ssh_url":"git@github.com:ministryofjustice/advocate-defence-payments.git","clone_url":"https://github.com/ministryofjustice/advocate-defence-payments.git","svn_url":"https://github.com/ministryofjustice/advocate-defence-payments","homepage":"","size":14173,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":21,"forks":2,"open_issues":21,"watchers":3,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/pulls/1781"},"html":{"href":"https://github.com/ministryofjustice/advocate-defence-payments/pull/1781"},"issue":{"href":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/issues/1781"},"comments":{"href":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/issues/1781/comments"},"review_comments":{"href":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/pulls/1781/comments"},"review_comment":{"href":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/pulls/1781/commits"},"statuses":{"href":"https://api.github.com/repos/ministryofjustice/advocate-defence-payments/statuses/c0c7998356d9327387dcf21d4532dcee003c021f"}}}}
{"actor":{"display_login":"zheileman"}}