{"action":"created","comment":{"url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/pulls/comments/25757530","id":25757530,"diff_hunk":"@@ -17,16 +17,37 @@\n   </select>\n </div>\n \n-<div class=\"field\">\n+<!-- <div class=\"field\">\n   <%= f.label :hall %><br />\n   <select name=\"student[hall]\" class=\"form-control\">\n     <%= render 'sharedviews/halls' %>\n   </select>\n+</div> -->\n+\n+<hr>\n+\n+<h4>In which field you want to be Mentored in.</h4>\n+\n+<div class=\"well\">\n+  <div class=\"field\">\n+    <%= f.label :preference1 %>\n+    <%= f.text_field :preference1 %>\n+  </div>\n+\n+  <div class=\"field\">\n+    <%= f.label :preference2 %>\n+    <%= f.text_field :preference2 %>\n+  </div>\n+\n+  <div class=\"field\">\n+    <%= f.label :preference3 %>\n+    <%= f.text_field :preference3 %>\n+  </div>\n </div>\n \n <div class=\"field\">\n-  <%= f.label :joining_year %><br />\n-  <%= f.text_field :joinyear %>\n+  <%= f.label :current_academic_year %><br />","path":"app/views/students/registrations/_register.html.erb","position":36,"original_position":36,"commit_id":"7884e125d469296aa9672891e69a1d28400c2b5d","original_commit_id":"7884e125d469296aa9672891e69a1d28400c2b5d","user":{"login":"icyflame","id":3668034,"avatar_url":"https://avatars.githubusercontent.com/u/3668034?v=3","gravatar_id":"","url":"https://api.github.com/users/icyflame","html_url":"https://github.com/icyflame","followers_url":"https://api.github.com/users/icyflame/followers","following_url":"https://api.github.com/users/icyflame/following{/other_user}","gists_url":"https://api.github.com/users/icyflame/gists{/gist_id}","starred_url":"https://api.github.com/users/icyflame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icyflame/subscriptions","organizations_url":"https://api.github.com/users/icyflame/orgs","repos_url":"https://api.github.com/users/icyflame/repos","events_url":"https://api.github.com/users/icyflame/events{/privacy}","received_events_url":"https://api.github.com/users/icyflame/received_events","type":"User","site_admin":false},"body":"Nice thinking!\r\n\r\nBut please add the joining year field apart from them urgent year attribute. \r\n\r\nWe need to know both the year that the student joined (`joinyear`) and the year in which he is currently studying(`current_year`) ","created_at":"2015-03-04T08:02:31Z","updated_at":"2015-03-04T08:02:31Z","html_url":"https://github.com/icyflame/mentorship-website-cum-portal/pull/18#discussion_r25757530","pull_request_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/pulls/comments/25757530"},"html":{"href":"https://github.com/icyflame/mentorship-website-cum-portal/pull/18#discussion_r25757530"},"pull_request":{"href":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/pulls/18","id":30444110,"html_url":"https://github.com/icyflame/mentorship-website-cum-portal/pull/18","diff_url":"https://github.com/icyflame/mentorship-website-cum-portal/pull/18.diff","patch_url":"https://github.com/icyflame/mentorship-website-cum-portal/pull/18.patch","issue_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/issues/18","number":18,"state":"open","locked":false,"title":"removed removed from mentor and mentee","user":{"login":"aniarya82","id":7463217,"avatar_url":"https://avatars.githubusercontent.com/u/7463217?v=3","gravatar_id":"","url":"https://api.github.com/users/aniarya82","html_url":"https://github.com/aniarya82","followers_url":"https://api.github.com/users/aniarya82/followers","following_url":"https://api.github.com/users/aniarya82/following{/other_user}","gists_url":"https://api.github.com/users/aniarya82/gists{/gist_id}","starred_url":"https://api.github.com/users/aniarya82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aniarya82/subscriptions","organizations_url":"https://api.github.com/users/aniarya82/orgs","repos_url":"https://api.github.com/users/aniarya82/repos","events_url":"https://api.github.com/users/aniarya82/events{/privacy}","received_events_url":"https://api.github.com/users/aniarya82/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-04T07:41:22Z","updated_at":"2015-03-04T08:02:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2a70bcdc4a516ef719bf781530db5ac5a8df6d98","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/pulls/18/commits","review_comments_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/pulls/18/comments","review_comment_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/issues/18/comments","statuses_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/statuses/7884e125d469296aa9672891e69a1d28400c2b5d","head":{"label":"aniarya82:master","ref":"master","sha":"7884e125d469296aa9672891e69a1d28400c2b5d","user":{"login":"aniarya82","id":7463217,"avatar_url":"https://avatars.githubusercontent.com/u/7463217?v=3","gravatar_id":"","url":"https://api.github.com/users/aniarya82","html_url":"https://github.com/aniarya82","followers_url":"https://api.github.com/users/aniarya82/followers","following_url":"https://api.github.com/users/aniarya82/following{/other_user}","gists_url":"https://api.github.com/users/aniarya82/gists{/gist_id}","starred_url":"https://api.github.com/users/aniarya82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aniarya82/subscriptions","organizations_url":"https://api.github.com/users/aniarya82/orgs","repos_url":"https://api.github.com/users/aniarya82/repos","events_url":"https://api.github.com/users/aniarya82/events{/privacy}","received_events_url":"https://api.github.com/users/aniarya82/received_events","type":"User","site_admin":false},"repo":{"id":30159642,"name":"mentorship-website-cum-portal","full_name":"aniarya82/mentorship-website-cum-portal","owner":{"login":"aniarya82","id":7463217,"avatar_url":"https://avatars.githubusercontent.com/u/7463217?v=3","gravatar_id":"","url":"https://api.github.com/users/aniarya82","html_url":"https://github.com/aniarya82","followers_url":"https://api.github.com/users/aniarya82/followers","following_url":"https://api.github.com/users/aniarya82/following{/other_user}","gists_url":"https://api.github.com/users/aniarya82/gists{/gist_id}","starred_url":"https://api.github.com/users/aniarya82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aniarya82/subscriptions","organizations_url":"https://api.github.com/users/aniarya82/orgs","repos_url":"https://api.github.com/users/aniarya82/repos","events_url":"https://api.github.com/users/aniarya82/events{/privacy}","received_events_url":"https://api.github.com/users/aniarya82/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aniarya82/mentorship-website-cum-portal","description":"The website cum portal of the Student Alumni Mentorship Program of Students' Alumni Cell, IIT Kharagpur.","fork":true,"url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal","forks_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/forks","keys_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/teams","hooks_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/hooks","issue_events_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/issues/events{/number}","events_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/events","assignees_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/assignees{/user}","branches_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/branches{/branch}","tags_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/tags","blobs_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/statuses/{sha}","languages_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/languages","stargazers_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/stargazers","contributors_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/contributors","subscribers_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/subscribers","subscription_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/subscription","commits_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/contents/{+path}","compare_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/merges","archive_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/downloads","issues_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/issues{/number}","pulls_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/pulls{/number}","milestones_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/milestones{/number}","notifications_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/labels{/name}","releases_url":"https://api.github.com/repos/aniarya82/mentorship-website-cum-portal/releases{/id}","created_at":"2015-02-01T21:01:00Z","updated_at":"2015-03-04T07:40:26Z","pushed_at":"2015-03-04T07:40:25Z","git_url":"git://github.com/aniarya82/mentorship-website-cum-portal.git","ssh_url":"git@github.com:aniarya82/mentorship-website-cum-portal.git","clone_url":"https://github.com/aniarya82/mentorship-website-cum-portal.git","svn_url":"https://github.com/aniarya82/mentorship-website-cum-portal","homepage":null,"size":2576,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"icyflame:master","ref":"master","sha":"aef3c6d4f016d5a6a6a6210262cc77ccce847542","user":{"login":"icyflame","id":3668034,"avatar_url":"https://avatars.githubusercontent.com/u/3668034?v=3","gravatar_id":"","url":"https://api.github.com/users/icyflame","html_url":"https://github.com/icyflame","followers_url":"https://api.github.com/users/icyflame/followers","following_url":"https://api.github.com/users/icyflame/following{/other_user}","gists_url":"https://api.github.com/users/icyflame/gists{/gist_id}","starred_url":"https://api.github.com/users/icyflame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icyflame/subscriptions","organizations_url":"https://api.github.com/users/icyflame/orgs","repos_url":"https://api.github.com/users/icyflame/repos","events_url":"https://api.github.com/users/icyflame/events{/privacy}","received_events_url":"https://api.github.com/users/icyflame/received_events","type":"User","site_admin":false},"repo":{"id":30085067,"name":"mentorship-website-cum-portal","full_name":"icyflame/mentorship-website-cum-portal","owner":{"login":"icyflame","id":3668034,"avatar_url":"https://avatars.githubusercontent.com/u/3668034?v=3","gravatar_id":"","url":"https://api.github.com/users/icyflame","html_url":"https://github.com/icyflame","followers_url":"https://api.github.com/users/icyflame/followers","following_url":"https://api.github.com/users/icyflame/following{/other_user}","gists_url":"https://api.github.com/users/icyflame/gists{/gist_id}","starred_url":"https://api.github.com/users/icyflame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icyflame/subscriptions","organizations_url":"https://api.github.com/users/icyflame/orgs","repos_url":"https://api.github.com/users/icyflame/repos","events_url":"https://api.github.com/users/icyflame/events{/privacy}","received_events_url":"https://api.github.com/users/icyflame/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/icyflame/mentorship-website-cum-portal","description":"The website cum portal of the Student Alumni Mentorship Program of Students' Alumni Cell, IIT Kharagpur.","fork":false,"url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal","forks_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/forks","keys_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/teams","hooks_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/hooks","issue_events_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/issues/events{/number}","events_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/events","assignees_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/assignees{/user}","branches_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/branches{/branch}","tags_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/tags","blobs_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/git/refs{/sha}","trees_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/statuses/{sha}","languages_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/languages","stargazers_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/stargazers","contributors_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/contributors","subscribers_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/subscribers","subscription_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/subscription","commits_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/commits{/sha}","git_commits_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/git/commits{/sha}","comments_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/comments{/number}","issue_comment_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/issues/comments{/number}","contents_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/contents/{+path}","compare_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/merges","archive_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/downloads","issues_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/issues{/number}","pulls_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/pulls{/number}","milestones_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/milestones{/number}","notifications_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/labels{/name}","releases_url":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/releases{/id}","created_at":"2015-01-30T18:25:06Z","updated_at":"2015-03-01T06:05:38Z","pushed_at":"2015-03-01T09:30:39Z","git_url":"git://github.com/icyflame/mentorship-website-cum-portal.git","ssh_url":"git@github.com:icyflame/mentorship-website-cum-portal.git","clone_url":"https://github.com/icyflame/mentorship-website-cum-portal.git","svn_url":"https://github.com/icyflame/mentorship-website-cum-portal","homepage":null,"size":646,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/pulls/18"},"html":{"href":"https://github.com/icyflame/mentorship-website-cum-portal/pull/18"},"issue":{"href":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/issues/18"},"comments":{"href":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/icyflame/mentorship-website-cum-portal/statuses/7884e125d469296aa9672891e69a1d28400c2b5d"}}}}