{"action":"created","comment":{"url":"https://api.github.com/repos/UKHomeOffice/gro/pulls/comments/67001483","id":67001483,"diff_hunk":"@@ -0,0 +1,8 @@\n+'use strict';\n+\n+module.exports = {\n+  'email-text': {\n+    mixin: 'input-text',","path":"apps/gro/fields/email-address.js","position":5,"original_position":5,"commit_id":"f806a5e092172cfd1136e982cd61ba9e0856b68a","original_commit_id":"e9a6d1c76a95fd19fab81fda26772e62cc6c70df","user":{"login":"joefitter","id":3604142,"avatar_url":"https://avatars.githubusercontent.com/u/3604142?v=3","gravatar_id":"","url":"https://api.github.com/users/joefitter","html_url":"https://github.com/joefitter","followers_url":"https://api.github.com/users/joefitter/followers","following_url":"https://api.github.com/users/joefitter/following{/other_user}","gists_url":"https://api.github.com/users/joefitter/gists{/gist_id}","starred_url":"https://api.github.com/users/joefitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joefitter/subscriptions","organizations_url":"https://api.github.com/users/joefitter/orgs","repos_url":"https://api.github.com/users/joefitter/repos","events_url":"https://api.github.com/users/joefitter/events{/privacy}","received_events_url":"https://api.github.com/users/joefitter/received_events","type":"User","site_admin":false},"body":"no - strangely there isn't an email mixin. Guess we could make one but out of scope for this","created_at":"2016-06-14T16:03:56Z","updated_at":"2016-06-14T16:03:57Z","html_url":"https://github.com/UKHomeOffice/gro/pull/48#discussion_r67001483","pull_request_url":"https://api.github.com/repos/UKHomeOffice/gro/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/UKHomeOffice/gro/pulls/comments/67001483"},"html":{"href":"https://github.com/UKHomeOffice/gro/pull/48#discussion_r67001483"},"pull_request":{"href":"https://api.github.com/repos/UKHomeOffice/gro/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/UKHomeOffice/gro/pulls/48","id":72476766,"html_url":"https://github.com/UKHomeOffice/gro/pull/48","diff_url":"https://github.com/UKHomeOffice/gro/pull/48.diff","patch_url":"https://github.com/UKHomeOffice/gro/pull/48.patch","issue_url":"https://api.github.com/repos/UKHomeOffice/gro/issues/48","number":48,"state":"open","locked":false,"title":"GFM-34 removed repeated code from templates","user":{"login":"joefitter","id":3604142,"avatar_url":"https://avatars.githubusercontent.com/u/3604142?v=3","gravatar_id":"","url":"https://api.github.com/users/joefitter","html_url":"https://github.com/joefitter","followers_url":"https://api.github.com/users/joefitter/followers","following_url":"https://api.github.com/users/joefitter/following{/other_user}","gists_url":"https://api.github.com/users/joefitter/gists{/gist_id}","starred_url":"https://api.github.com/users/joefitter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joefitter/subscriptions","organizations_url":"https://api.github.com/users/joefitter/orgs","repos_url":"https://api.github.com/users/joefitter/repos","events_url":"https://api.github.com/users/joefitter/events{/privacy}","received_events_url":"https://api.github.com/users/joefitter/received_events","type":"User","site_admin":false},"body":"This PR utilises some new hof features to allow generation of templates and avoid repeated code.\r\n\r\n* step.html template used for most standard steps - will render all fields in step config and a submit button\r\n* removed all templates that are no longer needed\r\n* added to field config to specify which template mixin to render\r\n* added to field config to give `step` in locals - ideally this will be provided to locals at a hof controller level at some point and this wont be necessary","created_at":"2016-06-03T09:15:40Z","updated_at":"2016-06-14T16:03:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"34c40f4b15ec8c6440c0e2123860edbf7998d6f7","assignee":{"login":"gxxm","id":8309454,"avatar_url":"https://avatars.githubusercontent.com/u/8309454?v=3","gravatar_id":"","url":"https://api.github.com/users/gxxm","html_url":"https://github.com/gxxm","followers_url":"https://api.github.com/users/gxxm/followers","following_url":"https://api.github.com/users/gxxm/following{/other_user}","gists_url":"https://api.github.com/users/gxxm/gists{/gist_id}","starred_url":"https://api.github.com/users/gxxm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gxxm/subscriptions","organizations_url":"https://api.github.com/users/gxxm/orgs","repos_url":"https://api.github.com/users/gxxm/repos","events_url":"https://api.github.com/users/gxxm/events{/privacy}","received_events_url":"https://api.github.com/users/gxxm/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/UKHomeOffice/gro/pulls/48/commits","review_comments_url":"https://api.github.com/repos/UKHomeOffice/gro/pulls/48/comments","review_comment_url":"https://api.github.com/repos/UKHomeOffice/gro/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UKHomeOffice/gro/issues/48/comments","statuses_url":"https://api.github.com/repos/UKHomeOffice/gro/statuses/f806a5e092172cfd1136e982cd61ba9e0856b68a","head":{"label":"UKHomeOffice:devtask/GFM-34","ref":"devtask/GFM-34","sha":"f806a5e092172cfd1136e982cd61ba9e0856b68a","user":{"login":"UKHomeOffice","id":3778081,"avatar_url":"https://avatars.githubusercontent.com/u/3778081?v=3","gravatar_id":"","url":"https://api.github.com/users/UKHomeOffice","html_url":"https://github.com/UKHomeOffice","followers_url":"https://api.github.com/users/UKHomeOffice/followers","following_url":"https://api.github.com/users/UKHomeOffice/following{/other_user}","gists_url":"https://api.github.com/users/UKHomeOffice/gists{/gist_id}","starred_url":"https://api.github.com/users/UKHomeOffice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKHomeOffice/subscriptions","organizations_url":"https://api.github.com/users/UKHomeOffice/orgs","repos_url":"https://api.github.com/users/UKHomeOffice/repos","events_url":"https://api.github.com/users/UKHomeOffice/events{/privacy}","received_events_url":"https://api.github.com/users/UKHomeOffice/received_events","type":"Organization","site_admin":false},"repo":{"id":47547764,"name":"gro","full_name":"UKHomeOffice/gro","owner":{"login":"UKHomeOffice","id":3778081,"avatar_url":"https://avatars.githubusercontent.com/u/3778081?v=3","gravatar_id":"","url":"https://api.github.com/users/UKHomeOffice","html_url":"https://github.com/UKHomeOffice","followers_url":"https://api.github.com/users/UKHomeOffice/followers","following_url":"https://api.github.com/users/UKHomeOffice/following{/other_user}","gists_url":"https://api.github.com/users/UKHomeOffice/gists{/gist_id}","starred_url":"https://api.github.com/users/UKHomeOffice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKHomeOffice/subscriptions","organizations_url":"https://api.github.com/users/UKHomeOffice/orgs","repos_url":"https://api.github.com/users/UKHomeOffice/repos","events_url":"https://api.github.com/users/UKHomeOffice/events{/privacy}","received_events_url":"https://api.github.com/users/UKHomeOffice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UKHomeOffice/gro","description":"General Register Office DSP form","fork":false,"url":"https://api.github.com/repos/UKHomeOffice/gro","forks_url":"https://api.github.com/repos/UKHomeOffice/gro/forks","keys_url":"https://api.github.com/repos/UKHomeOffice/gro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UKHomeOffice/gro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UKHomeOffice/gro/teams","hooks_url":"https://api.github.com/repos/UKHomeOffice/gro/hooks","issue_events_url":"https://api.github.com/repos/UKHomeOffice/gro/issues/events{/number}","events_url":"https://api.github.com/repos/UKHomeOffice/gro/events","assignees_url":"https://api.github.com/repos/UKHomeOffice/gro/assignees{/user}","branches_url":"https://api.github.com/repos/UKHomeOffice/gro/branches{/branch}","tags_url":"https://api.github.com/repos/UKHomeOffice/gro/tags","blobs_url":"https://api.github.com/repos/UKHomeOffice/gro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UKHomeOffice/gro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UKHomeOffice/gro/git/refs{/sha}","trees_url":"https://api.github.com/repos/UKHomeOffice/gro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UKHomeOffice/gro/statuses/{sha}","languages_url":"https://api.github.com/repos/UKHomeOffice/gro/languages","stargazers_url":"https://api.github.com/repos/UKHomeOffice/gro/stargazers","contributors_url":"https://api.github.com/repos/UKHomeOffice/gro/contributors","subscribers_url":"https://api.github.com/repos/UKHomeOffice/gro/subscribers","subscription_url":"https://api.github.com/repos/UKHomeOffice/gro/subscription","commits_url":"https://api.github.com/repos/UKHomeOffice/gro/commits{/sha}","git_commits_url":"https://api.github.com/repos/UKHomeOffice/gro/git/commits{/sha}","comments_url":"https://api.github.com/repos/UKHomeOffice/gro/comments{/number}","issue_comment_url":"https://api.github.com/repos/UKHomeOffice/gro/issues/comments{/number}","contents_url":"https://api.github.com/repos/UKHomeOffice/gro/contents/{+path}","compare_url":"https://api.github.com/repos/UKHomeOffice/gro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UKHomeOffice/gro/merges","archive_url":"https://api.github.com/repos/UKHomeOffice/gro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UKHomeOffice/gro/downloads","issues_url":"https://api.github.com/repos/UKHomeOffice/gro/issues{/number}","pulls_url":"https://api.github.com/repos/UKHomeOffice/gro/pulls{/number}","milestones_url":"https://api.github.com/repos/UKHomeOffice/gro/milestones{/number}","notifications_url":"https://api.github.com/repos/UKHomeOffice/gro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UKHomeOffice/gro/labels{/name}","releases_url":"https://api.github.com/repos/UKHomeOffice/gro/releases{/id}","deployments_url":"https://api.github.com/repos/UKHomeOffice/gro/deployments","created_at":"2015-12-07T11:20:43Z","updated_at":"2016-04-25T05:55:08Z","pushed_at":"2016-06-14T16:02:33Z","git_url":"git://github.com/UKHomeOffice/gro.git","ssh_url":"git@github.com:UKHomeOffice/gro.git","clone_url":"https://github.com/UKHomeOffice/gro.git","svn_url":"https://github.com/UKHomeOffice/gro","homepage":null,"size":677,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":1,"default_branch":"master"}},"base":{"label":"UKHomeOffice:master","ref":"master","sha":"d5f403159cf16d744428dc1cfa3cf0b62cd33e68","user":{"login":"UKHomeOffice","id":3778081,"avatar_url":"https://avatars.githubusercontent.com/u/3778081?v=3","gravatar_id":"","url":"https://api.github.com/users/UKHomeOffice","html_url":"https://github.com/UKHomeOffice","followers_url":"https://api.github.com/users/UKHomeOffice/followers","following_url":"https://api.github.com/users/UKHomeOffice/following{/other_user}","gists_url":"https://api.github.com/users/UKHomeOffice/gists{/gist_id}","starred_url":"https://api.github.com/users/UKHomeOffice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKHomeOffice/subscriptions","organizations_url":"https://api.github.com/users/UKHomeOffice/orgs","repos_url":"https://api.github.com/users/UKHomeOffice/repos","events_url":"https://api.github.com/users/UKHomeOffice/events{/privacy}","received_events_url":"https://api.github.com/users/UKHomeOffice/received_events","type":"Organization","site_admin":false},"repo":{"id":47547764,"name":"gro","full_name":"UKHomeOffice/gro","owner":{"login":"UKHomeOffice","id":3778081,"avatar_url":"https://avatars.githubusercontent.com/u/3778081?v=3","gravatar_id":"","url":"https://api.github.com/users/UKHomeOffice","html_url":"https://github.com/UKHomeOffice","followers_url":"https://api.github.com/users/UKHomeOffice/followers","following_url":"https://api.github.com/users/UKHomeOffice/following{/other_user}","gists_url":"https://api.github.com/users/UKHomeOffice/gists{/gist_id}","starred_url":"https://api.github.com/users/UKHomeOffice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKHomeOffice/subscriptions","organizations_url":"https://api.github.com/users/UKHomeOffice/orgs","repos_url":"https://api.github.com/users/UKHomeOffice/repos","events_url":"https://api.github.com/users/UKHomeOffice/events{/privacy}","received_events_url":"https://api.github.com/users/UKHomeOffice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UKHomeOffice/gro","description":"General Register Office DSP form","fork":false,"url":"https://api.github.com/repos/UKHomeOffice/gro","forks_url":"https://api.github.com/repos/UKHomeOffice/gro/forks","keys_url":"https://api.github.com/repos/UKHomeOffice/gro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UKHomeOffice/gro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UKHomeOffice/gro/teams","hooks_url":"https://api.github.com/repos/UKHomeOffice/gro/hooks","issue_events_url":"https://api.github.com/repos/UKHomeOffice/gro/issues/events{/number}","events_url":"https://api.github.com/repos/UKHomeOffice/gro/events","assignees_url":"https://api.github.com/repos/UKHomeOffice/gro/assignees{/user}","branches_url":"https://api.github.com/repos/UKHomeOffice/gro/branches{/branch}","tags_url":"https://api.github.com/repos/UKHomeOffice/gro/tags","blobs_url":"https://api.github.com/repos/UKHomeOffice/gro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UKHomeOffice/gro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UKHomeOffice/gro/git/refs{/sha}","trees_url":"https://api.github.com/repos/UKHomeOffice/gro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UKHomeOffice/gro/statuses/{sha}","languages_url":"https://api.github.com/repos/UKHomeOffice/gro/languages","stargazers_url":"https://api.github.com/repos/UKHomeOffice/gro/stargazers","contributors_url":"https://api.github.com/repos/UKHomeOffice/gro/contributors","subscribers_url":"https://api.github.com/repos/UKHomeOffice/gro/subscribers","subscription_url":"https://api.github.com/repos/UKHomeOffice/gro/subscription","commits_url":"https://api.github.com/repos/UKHomeOffice/gro/commits{/sha}","git_commits_url":"https://api.github.com/repos/UKHomeOffice/gro/git/commits{/sha}","comments_url":"https://api.github.com/repos/UKHomeOffice/gro/comments{/number}","issue_comment_url":"https://api.github.com/repos/UKHomeOffice/gro/issues/comments{/number}","contents_url":"https://api.github.com/repos/UKHomeOffice/gro/contents/{+path}","compare_url":"https://api.github.com/repos/UKHomeOffice/gro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UKHomeOffice/gro/merges","archive_url":"https://api.github.com/repos/UKHomeOffice/gro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UKHomeOffice/gro/downloads","issues_url":"https://api.github.com/repos/UKHomeOffice/gro/issues{/number}","pulls_url":"https://api.github.com/repos/UKHomeOffice/gro/pulls{/number}","milestones_url":"https://api.github.com/repos/UKHomeOffice/gro/milestones{/number}","notifications_url":"https://api.github.com/repos/UKHomeOffice/gro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UKHomeOffice/gro/labels{/name}","releases_url":"https://api.github.com/repos/UKHomeOffice/gro/releases{/id}","deployments_url":"https://api.github.com/repos/UKHomeOffice/gro/deployments","created_at":"2015-12-07T11:20:43Z","updated_at":"2016-04-25T05:55:08Z","pushed_at":"2016-06-14T16:02:33Z","git_url":"git://github.com/UKHomeOffice/gro.git","ssh_url":"git@github.com:UKHomeOffice/gro.git","clone_url":"https://github.com/UKHomeOffice/gro.git","svn_url":"https://github.com/UKHomeOffice/gro","homepage":null,"size":677,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UKHomeOffice/gro/pulls/48"},"html":{"href":"https://github.com/UKHomeOffice/gro/pull/48"},"issue":{"href":"https://api.github.com/repos/UKHomeOffice/gro/issues/48"},"comments":{"href":"https://api.github.com/repos/UKHomeOffice/gro/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/UKHomeOffice/gro/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/UKHomeOffice/gro/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UKHomeOffice/gro/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/UKHomeOffice/gro/statuses/f806a5e092172cfd1136e982cd61ba9e0856b68a"}}}}
{"actor":{"display_login":"joefitter"}}