{"action":"created","comment":{"url":"https://api.github.com/repos/uktrade/directory-ui/pulls/comments/84238889","pull_request_review_id":5027700,"id":84238889,"diff_hunk":"@@ -50,13 +50,14 @@ class EnrolmentView(SessionWizardView):\n         ('aims', forms.AimsForm),\n         ('user', forms.UserForm),\n     )\n+    templates = [\n+        'company-form.html',\n+        'aims-form.html',\n+        'user-form.html',\n+    ]\n \n     def get_template_names(self):\n-        return [\n-            'company-form.html',\n-            'aims-form.html',\n-            'user-form.html',\n-        ]\n+        return [self.templates[self.steps.step0]]","path":"enrolment/views.py","position":16,"original_position":16,"commit_id":"c978e779cea3b8b49987669baaf0b7cbf0a02cf5","original_commit_id":"c978e779cea3b8b49987669baaf0b7cbf0a02cf5","user":{"login":"richtier","id":5485798,"avatar_url":"https://avatars.githubusercontent.com/u/5485798?v=3","gravatar_id":"","url":"https://api.github.com/users/richtier","html_url":"https://github.com/richtier","followers_url":"https://api.github.com/users/richtier/followers","following_url":"https://api.github.com/users/richtier/following{/other_user}","gists_url":"https://api.github.com/users/richtier/gists{/gist_id}","starred_url":"https://api.github.com/users/richtier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richtier/subscriptions","organizations_url":"https://api.github.com/users/richtier/orgs","repos_url":"https://api.github.com/users/richtier/repos","events_url":"https://api.github.com/users/richtier/events{/privacy}","received_events_url":"https://api.github.com/users/richtier/received_events","type":"User","site_admin":false},"body":"its an unhelpful API :) `step0` means \"current step zero indexed\". They also have `step1`, which is \"current index one indexed\". They also have `current`, which is the *name* of current step. Hmm I have a cunning plan...","created_at":"2016-10-20T08:59:02Z","updated_at":"2016-10-20T08:59:02Z","html_url":"https://github.com/uktrade/directory-ui/pull/63#discussion_r84238889","pull_request_url":"https://api.github.com/repos/uktrade/directory-ui/pulls/63","_links":{"self":{"href":"https://api.github.com/repos/uktrade/directory-ui/pulls/comments/84238889"},"html":{"href":"https://github.com/uktrade/directory-ui/pull/63#discussion_r84238889"},"pull_request":{"href":"https://api.github.com/repos/uktrade/directory-ui/pulls/63"}}},"pull_request":{"url":"https://api.github.com/repos/uktrade/directory-ui/pulls/63","id":90050381,"html_url":"https://github.com/uktrade/directory-ui/pull/63","diff_url":"https://github.com/uktrade/directory-ui/pull/63.diff","patch_url":"https://github.com/uktrade/directory-ui/pull/63.patch","issue_url":"https://api.github.com/repos/uktrade/directory-ui/issues/63","number":63,"state":"open","locked":false,"title":"[WIP] Update layout and style of registration template","user":{"login":"richtier","id":5485798,"avatar_url":"https://avatars.githubusercontent.com/u/5485798?v=3","gravatar_id":"","url":"https://api.github.com/users/richtier","html_url":"https://github.com/richtier","followers_url":"https://api.github.com/users/richtier/followers","following_url":"https://api.github.com/users/richtier/following{/other_user}","gists_url":"https://api.github.com/users/richtier/gists{/gist_id}","starred_url":"https://api.github.com/users/richtier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richtier/subscriptions","organizations_url":"https://api.github.com/users/richtier/orgs","repos_url":"https://api.github.com/users/richtier/repos","events_url":"https://api.github.com/users/richtier/events{/privacy}","received_events_url":"https://api.github.com/users/richtier/received_events","type":"User","site_admin":false},"body":"[this task](https://uktrade.atlassian.net/browse/ED-242)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/5485798/19528839/7aba44d8-9625-11e6-94a7-fcfe2ac172ba.png)\r\n\r\nNote another ticket will update the form element style.\r\n\r\ntodo: \r\n - [ ] add tests","created_at":"2016-10-19T16:58:32Z","updated_at":"2016-10-20T08:59:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"08dd5c0dd53001f75e1514edae57512d4eb03a8c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/uktrade/directory-ui/pulls/63/commits","review_comments_url":"https://api.github.com/repos/uktrade/directory-ui/pulls/63/comments","review_comment_url":"https://api.github.com/repos/uktrade/directory-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uktrade/directory-ui/issues/63/comments","statuses_url":"https://api.github.com/repos/uktrade/directory-ui/statuses/c978e779cea3b8b49987669baaf0b7cbf0a02cf5","head":{"label":"uktrade:ED-242-registration-page-style","ref":"ED-242-registration-page-style","sha":"c978e779cea3b8b49987669baaf0b7cbf0a02cf5","user":{"login":"uktrade","id":15107524,"avatar_url":"https://avatars.githubusercontent.com/u/15107524?v=3","gravatar_id":"","url":"https://api.github.com/users/uktrade","html_url":"https://github.com/uktrade","followers_url":"https://api.github.com/users/uktrade/followers","following_url":"https://api.github.com/users/uktrade/following{/other_user}","gists_url":"https://api.github.com/users/uktrade/gists{/gist_id}","starred_url":"https://api.github.com/users/uktrade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uktrade/subscriptions","organizations_url":"https://api.github.com/users/uktrade/orgs","repos_url":"https://api.github.com/users/uktrade/repos","events_url":"https://api.github.com/users/uktrade/events{/privacy}","received_events_url":"https://api.github.com/users/uktrade/received_events","type":"Organization","site_admin":false},"repo":{"id":69957089,"name":"directory-ui","full_name":"uktrade/directory-ui","owner":{"login":"uktrade","id":15107524,"avatar_url":"https://avatars.githubusercontent.com/u/15107524?v=3","gravatar_id":"","url":"https://api.github.com/users/uktrade","html_url":"https://github.com/uktrade","followers_url":"https://api.github.com/users/uktrade/followers","following_url":"https://api.github.com/users/uktrade/following{/other_user}","gists_url":"https://api.github.com/users/uktrade/gists{/gist_id}","starred_url":"https://api.github.com/users/uktrade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uktrade/subscriptions","organizations_url":"https://api.github.com/users/uktrade/orgs","repos_url":"https://api.github.com/users/uktrade/repos","events_url":"https://api.github.com/users/uktrade/events{/privacy}","received_events_url":"https://api.github.com/users/uktrade/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uktrade/directory-ui","description":null,"fork":false,"url":"https://api.github.com/repos/uktrade/directory-ui","forks_url":"https://api.github.com/repos/uktrade/directory-ui/forks","keys_url":"https://api.github.com/repos/uktrade/directory-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uktrade/directory-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uktrade/directory-ui/teams","hooks_url":"https://api.github.com/repos/uktrade/directory-ui/hooks","issue_events_url":"https://api.github.com/repos/uktrade/directory-ui/issues/events{/number}","events_url":"https://api.github.com/repos/uktrade/directory-ui/events","assignees_url":"https://api.github.com/repos/uktrade/directory-ui/assignees{/user}","branches_url":"https://api.github.com/repos/uktrade/directory-ui/branches{/branch}","tags_url":"https://api.github.com/repos/uktrade/directory-ui/tags","blobs_url":"https://api.github.com/repos/uktrade/directory-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uktrade/directory-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uktrade/directory-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/uktrade/directory-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uktrade/directory-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/uktrade/directory-ui/languages","stargazers_url":"https://api.github.com/repos/uktrade/directory-ui/stargazers","contributors_url":"https://api.github.com/repos/uktrade/directory-ui/contributors","subscribers_url":"https://api.github.com/repos/uktrade/directory-ui/subscribers","subscription_url":"https://api.github.com/repos/uktrade/directory-ui/subscription","commits_url":"https://api.github.com/repos/uktrade/directory-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/uktrade/directory-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/uktrade/directory-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/uktrade/directory-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/uktrade/directory-ui/contents/{+path}","compare_url":"https://api.github.com/repos/uktrade/directory-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uktrade/directory-ui/merges","archive_url":"https://api.github.com/repos/uktrade/directory-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uktrade/directory-ui/downloads","issues_url":"https://api.github.com/repos/uktrade/directory-ui/issues{/number}","pulls_url":"https://api.github.com/repos/uktrade/directory-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/uktrade/directory-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/uktrade/directory-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uktrade/directory-ui/labels{/name}","releases_url":"https://api.github.com/repos/uktrade/directory-ui/releases{/id}","deployments_url":"https://api.github.com/repos/uktrade/directory-ui/deployments","created_at":"2016-10-04T11:05:14Z","updated_at":"2016-10-04T11:12:41Z","pushed_at":"2016-10-20T08:57:26Z","git_url":"git://github.com/uktrade/directory-ui.git","ssh_url":"git@github.com:uktrade/directory-ui.git","clone_url":"https://github.com/uktrade/directory-ui.git","svn_url":"https://github.com/uktrade/directory-ui","homepage":null,"size":2035,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"uktrade:master","ref":"master","sha":"ff948333ba4b06570756dbfd5e6c14247365b16e","user":{"login":"uktrade","id":15107524,"avatar_url":"https://avatars.githubusercontent.com/u/15107524?v=3","gravatar_id":"","url":"https://api.github.com/users/uktrade","html_url":"https://github.com/uktrade","followers_url":"https://api.github.com/users/uktrade/followers","following_url":"https://api.github.com/users/uktrade/following{/other_user}","gists_url":"https://api.github.com/users/uktrade/gists{/gist_id}","starred_url":"https://api.github.com/users/uktrade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uktrade/subscriptions","organizations_url":"https://api.github.com/users/uktrade/orgs","repos_url":"https://api.github.com/users/uktrade/repos","events_url":"https://api.github.com/users/uktrade/events{/privacy}","received_events_url":"https://api.github.com/users/uktrade/received_events","type":"Organization","site_admin":false},"repo":{"id":69957089,"name":"directory-ui","full_name":"uktrade/directory-ui","owner":{"login":"uktrade","id":15107524,"avatar_url":"https://avatars.githubusercontent.com/u/15107524?v=3","gravatar_id":"","url":"https://api.github.com/users/uktrade","html_url":"https://github.com/uktrade","followers_url":"https://api.github.com/users/uktrade/followers","following_url":"https://api.github.com/users/uktrade/following{/other_user}","gists_url":"https://api.github.com/users/uktrade/gists{/gist_id}","starred_url":"https://api.github.com/users/uktrade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uktrade/subscriptions","organizations_url":"https://api.github.com/users/uktrade/orgs","repos_url":"https://api.github.com/users/uktrade/repos","events_url":"https://api.github.com/users/uktrade/events{/privacy}","received_events_url":"https://api.github.com/users/uktrade/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uktrade/directory-ui","description":null,"fork":false,"url":"https://api.github.com/repos/uktrade/directory-ui","forks_url":"https://api.github.com/repos/uktrade/directory-ui/forks","keys_url":"https://api.github.com/repos/uktrade/directory-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uktrade/directory-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uktrade/directory-ui/teams","hooks_url":"https://api.github.com/repos/uktrade/directory-ui/hooks","issue_events_url":"https://api.github.com/repos/uktrade/directory-ui/issues/events{/number}","events_url":"https://api.github.com/repos/uktrade/directory-ui/events","assignees_url":"https://api.github.com/repos/uktrade/directory-ui/assignees{/user}","branches_url":"https://api.github.com/repos/uktrade/directory-ui/branches{/branch}","tags_url":"https://api.github.com/repos/uktrade/directory-ui/tags","blobs_url":"https://api.github.com/repos/uktrade/directory-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uktrade/directory-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uktrade/directory-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/uktrade/directory-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uktrade/directory-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/uktrade/directory-ui/languages","stargazers_url":"https://api.github.com/repos/uktrade/directory-ui/stargazers","contributors_url":"https://api.github.com/repos/uktrade/directory-ui/contributors","subscribers_url":"https://api.github.com/repos/uktrade/directory-ui/subscribers","subscription_url":"https://api.github.com/repos/uktrade/directory-ui/subscription","commits_url":"https://api.github.com/repos/uktrade/directory-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/uktrade/directory-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/uktrade/directory-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/uktrade/directory-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/uktrade/directory-ui/contents/{+path}","compare_url":"https://api.github.com/repos/uktrade/directory-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uktrade/directory-ui/merges","archive_url":"https://api.github.com/repos/uktrade/directory-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uktrade/directory-ui/downloads","issues_url":"https://api.github.com/repos/uktrade/directory-ui/issues{/number}","pulls_url":"https://api.github.com/repos/uktrade/directory-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/uktrade/directory-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/uktrade/directory-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uktrade/directory-ui/labels{/name}","releases_url":"https://api.github.com/repos/uktrade/directory-ui/releases{/id}","deployments_url":"https://api.github.com/repos/uktrade/directory-ui/deployments","created_at":"2016-10-04T11:05:14Z","updated_at":"2016-10-04T11:12:41Z","pushed_at":"2016-10-20T08:57:26Z","git_url":"git://github.com/uktrade/directory-ui.git","ssh_url":"git@github.com:uktrade/directory-ui.git","clone_url":"https://github.com/uktrade/directory-ui.git","svn_url":"https://github.com/uktrade/directory-ui","homepage":null,"size":2035,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uktrade/directory-ui/pulls/63"},"html":{"href":"https://github.com/uktrade/directory-ui/pull/63"},"issue":{"href":"https://api.github.com/repos/uktrade/directory-ui/issues/63"},"comments":{"href":"https://api.github.com/repos/uktrade/directory-ui/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/uktrade/directory-ui/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/uktrade/directory-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uktrade/directory-ui/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/uktrade/directory-ui/statuses/c978e779cea3b8b49987669baaf0b7cbf0a02cf5"}}}}
{"actor":{"display_login":"richtier"}}