{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fels_176/pulls/comments/75256344","id":75256344,"diff_hunk":"@@ -7,7 +7,84 @@\n             <div class=\"panel panel-default\">\n                 <div class=\"panel-heading\">{{ trans('label.profile') }}</div>\n                 <div class=\"panel-body\">\n-                    This is profile\n+\n+                    {{ Form::model($user, ['method' => 'PATCH', 'route' => ['user.user.update', $user->id], 'class' =>'form-horizontal', 'role'=>'form', 'files' => true]) }}\n+\n+                        <img id=\"output\" src=\"{{ Request::root() }}/uploads/images/{{ $user->avatar }}\"/>\n+\n+                        <div class=\"form-group\">\n+                             {{ Form::label('avatar', trans('label.avatar'), ['class' => 'col-md-4 control-label']) }}\n+                            <div class=\"col-md-6\">\n+                                 {{ Form::file('avatar', Input::old('avatar')) }}\n+\n+                                  @if ($errors->has('avatar'))\n+                                    <span class=\"help-block\">\n+                                        <strong>{{ $errors->first('avatar') }}</strong>\n+                                    </span>\n+                                  @endif\n+                              </div>\n+                         </div>\n+\n+                         <div class=\"form-group\">\n+                             {{ Form::label('name', trans('label.name'), ['class' => 'col-md-4 control-label']) }}\n+                            <div class=\"col-md-6\">\n+                                 {{ Form::text('name', Input::old('name'), ['class'=>'form-control']) }}\n+\n+                                 @if ($errors->has('name'))\n+                                    <span class=\"help-block\">\n+                                        <strong>{{ $errors->first('name') }}</strong>\n+                                    </span>\n+                                  @endif\n+                              </div>\n+                         </div>\n+\n+                         <div class=\"form-group\">\n+                             {{ Form::label('email', trans('label.email_address'), ['class' => 'col-md-4 control-label']) }}\n+                            <div class=\"col-md-6\">\n+                             {{ Form::email('email', Input::old('email'), ['class'=>'form-control', 'name'=>'email']) }}","path":"resources/views/user/profile.blade.php","position":39,"original_position":39,"commit_id":"5cf8a22eb11d4de7a971b7a2f2c2bed648d0277d","original_commit_id":"5cf8a22eb11d4de7a971b7a2f2c2bed648d0277d","user":{"login":"tranluan91","id":5018433,"avatar_url":"https://avatars.githubusercontent.com/u/5018433?v=3","gravatar_id":"","url":"https://api.github.com/users/tranluan91","html_url":"https://github.com/tranluan91","followers_url":"https://api.github.com/users/tranluan91/followers","following_url":"https://api.github.com/users/tranluan91/following{/other_user}","gists_url":"https://api.github.com/users/tranluan91/gists{/gist_id}","starred_url":"https://api.github.com/users/tranluan91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tranluan91/subscriptions","organizations_url":"https://api.github.com/users/tranluan91/orgs","repos_url":"https://api.github.com/users/tranluan91/repos","events_url":"https://api.github.com/users/tranluan91/events{/privacy}","received_events_url":"https://api.github.com/users/tranluan91/received_events","type":"User","site_admin":false},"body":"1 space trước và sau =>","created_at":"2016-08-18T06:52:20Z","updated_at":"2016-08-18T06:52:20Z","html_url":"https://github.com/framgia/fels_176/pull/18#discussion_r75256344","pull_request_url":"https://api.github.com/repos/framgia/fels_176/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_176/pulls/comments/75256344"},"html":{"href":"https://github.com/framgia/fels_176/pull/18#discussion_r75256344"},"pull_request":{"href":"https://api.github.com/repos/framgia/fels_176/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fels_176/pulls/18","id":81753274,"html_url":"https://github.com/framgia/fels_176/pull/18","diff_url":"https://github.com/framgia/fels_176/pull/18.diff","patch_url":"https://github.com/framgia/fels_176/pull/18.patch","issue_url":"https://api.github.com/repos/framgia/fels_176/issues/18","number":18,"state":"open","locked":false,"title":"show word list and category","user":{"login":"trandinhvi39","id":13941707,"avatar_url":"https://avatars.githubusercontent.com/u/13941707?v=3","gravatar_id":"","url":"https://api.github.com/users/trandinhvi39","html_url":"https://github.com/trandinhvi39","followers_url":"https://api.github.com/users/trandinhvi39/followers","following_url":"https://api.github.com/users/trandinhvi39/following{/other_user}","gists_url":"https://api.github.com/users/trandinhvi39/gists{/gist_id}","starred_url":"https://api.github.com/users/trandinhvi39/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trandinhvi39/subscriptions","organizations_url":"https://api.github.com/users/trandinhvi39/orgs","repos_url":"https://api.github.com/users/trandinhvi39/repos","events_url":"https://api.github.com/users/trandinhvi39/events{/privacy}","received_events_url":"https://api.github.com/users/trandinhvi39/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-18T03:49:51Z","updated_at":"2016-08-18T06:52:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e0dfe07095e275310c43af3c17d0ae63e229bcd5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fels_176/pulls/18/commits","review_comments_url":"https://api.github.com/repos/framgia/fels_176/pulls/18/comments","review_comment_url":"https://api.github.com/repos/framgia/fels_176/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fels_176/issues/18/comments","statuses_url":"https://api.github.com/repos/framgia/fels_176/statuses/5cf8a22eb11d4de7a971b7a2f2c2bed648d0277d","head":{"label":"trandinhvi39:init","ref":"init","sha":"5cf8a22eb11d4de7a971b7a2f2c2bed648d0277d","user":{"login":"trandinhvi39","id":13941707,"avatar_url":"https://avatars.githubusercontent.com/u/13941707?v=3","gravatar_id":"","url":"https://api.github.com/users/trandinhvi39","html_url":"https://github.com/trandinhvi39","followers_url":"https://api.github.com/users/trandinhvi39/followers","following_url":"https://api.github.com/users/trandinhvi39/following{/other_user}","gists_url":"https://api.github.com/users/trandinhvi39/gists{/gist_id}","starred_url":"https://api.github.com/users/trandinhvi39/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trandinhvi39/subscriptions","organizations_url":"https://api.github.com/users/trandinhvi39/orgs","repos_url":"https://api.github.com/users/trandinhvi39/repos","events_url":"https://api.github.com/users/trandinhvi39/events{/privacy}","received_events_url":"https://api.github.com/users/trandinhvi39/received_events","type":"User","site_admin":false},"repo":{"id":64834836,"name":"fels_176","full_name":"trandinhvi39/fels_176","owner":{"login":"trandinhvi39","id":13941707,"avatar_url":"https://avatars.githubusercontent.com/u/13941707?v=3","gravatar_id":"","url":"https://api.github.com/users/trandinhvi39","html_url":"https://github.com/trandinhvi39","followers_url":"https://api.github.com/users/trandinhvi39/followers","following_url":"https://api.github.com/users/trandinhvi39/following{/other_user}","gists_url":"https://api.github.com/users/trandinhvi39/gists{/gist_id}","starred_url":"https://api.github.com/users/trandinhvi39/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trandinhvi39/subscriptions","organizations_url":"https://api.github.com/users/trandinhvi39/orgs","repos_url":"https://api.github.com/users/trandinhvi39/repos","events_url":"https://api.github.com/users/trandinhvi39/events{/privacy}","received_events_url":"https://api.github.com/users/trandinhvi39/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/trandinhvi39/fels_176","description":"Framgia E Learning System (Training)","fork":true,"url":"https://api.github.com/repos/trandinhvi39/fels_176","forks_url":"https://api.github.com/repos/trandinhvi39/fels_176/forks","keys_url":"https://api.github.com/repos/trandinhvi39/fels_176/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trandinhvi39/fels_176/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trandinhvi39/fels_176/teams","hooks_url":"https://api.github.com/repos/trandinhvi39/fels_176/hooks","issue_events_url":"https://api.github.com/repos/trandinhvi39/fels_176/issues/events{/number}","events_url":"https://api.github.com/repos/trandinhvi39/fels_176/events","assignees_url":"https://api.github.com/repos/trandinhvi39/fels_176/assignees{/user}","branches_url":"https://api.github.com/repos/trandinhvi39/fels_176/branches{/branch}","tags_url":"https://api.github.com/repos/trandinhvi39/fels_176/tags","blobs_url":"https://api.github.com/repos/trandinhvi39/fels_176/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trandinhvi39/fels_176/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trandinhvi39/fels_176/git/refs{/sha}","trees_url":"https://api.github.com/repos/trandinhvi39/fels_176/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trandinhvi39/fels_176/statuses/{sha}","languages_url":"https://api.github.com/repos/trandinhvi39/fels_176/languages","stargazers_url":"https://api.github.com/repos/trandinhvi39/fels_176/stargazers","contributors_url":"https://api.github.com/repos/trandinhvi39/fels_176/contributors","subscribers_url":"https://api.github.com/repos/trandinhvi39/fels_176/subscribers","subscription_url":"https://api.github.com/repos/trandinhvi39/fels_176/subscription","commits_url":"https://api.github.com/repos/trandinhvi39/fels_176/commits{/sha}","git_commits_url":"https://api.github.com/repos/trandinhvi39/fels_176/git/commits{/sha}","comments_url":"https://api.github.com/repos/trandinhvi39/fels_176/comments{/number}","issue_comment_url":"https://api.github.com/repos/trandinhvi39/fels_176/issues/comments{/number}","contents_url":"https://api.github.com/repos/trandinhvi39/fels_176/contents/{+path}","compare_url":"https://api.github.com/repos/trandinhvi39/fels_176/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trandinhvi39/fels_176/merges","archive_url":"https://api.github.com/repos/trandinhvi39/fels_176/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trandinhvi39/fels_176/downloads","issues_url":"https://api.github.com/repos/trandinhvi39/fels_176/issues{/number}","pulls_url":"https://api.github.com/repos/trandinhvi39/fels_176/pulls{/number}","milestones_url":"https://api.github.com/repos/trandinhvi39/fels_176/milestones{/number}","notifications_url":"https://api.github.com/repos/trandinhvi39/fels_176/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trandinhvi39/fels_176/labels{/name}","releases_url":"https://api.github.com/repos/trandinhvi39/fels_176/releases{/id}","deployments_url":"https://api.github.com/repos/trandinhvi39/fels_176/deployments","created_at":"2016-08-03T09:50:39Z","updated_at":"2016-08-03T09:11:31Z","pushed_at":"2016-08-18T03:47:50Z","git_url":"git://github.com/trandinhvi39/fels_176.git","ssh_url":"git@github.com:trandinhvi39/fels_176.git","clone_url":"https://github.com/trandinhvi39/fels_176.git","svn_url":"https://github.com/trandinhvi39/fels_176","homepage":null,"size":74,"stargazers_count":0,"watchers_count":0,"language":null,"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":"framgia:develop","ref":"develop","sha":"688ee8f8f3c617261b5c9413cfddc95f825a6d47","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":64832172,"name":"fels_176","full_name":"framgia/fels_176","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/fels_176","description":"Framgia E Learning System (Training)","fork":false,"url":"https://api.github.com/repos/framgia/fels_176","forks_url":"https://api.github.com/repos/framgia/fels_176/forks","keys_url":"https://api.github.com/repos/framgia/fels_176/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fels_176/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fels_176/teams","hooks_url":"https://api.github.com/repos/framgia/fels_176/hooks","issue_events_url":"https://api.github.com/repos/framgia/fels_176/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fels_176/events","assignees_url":"https://api.github.com/repos/framgia/fels_176/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fels_176/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fels_176/tags","blobs_url":"https://api.github.com/repos/framgia/fels_176/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fels_176/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fels_176/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fels_176/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fels_176/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fels_176/languages","stargazers_url":"https://api.github.com/repos/framgia/fels_176/stargazers","contributors_url":"https://api.github.com/repos/framgia/fels_176/contributors","subscribers_url":"https://api.github.com/repos/framgia/fels_176/subscribers","subscription_url":"https://api.github.com/repos/framgia/fels_176/subscription","commits_url":"https://api.github.com/repos/framgia/fels_176/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fels_176/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fels_176/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fels_176/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fels_176/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fels_176/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fels_176/merges","archive_url":"https://api.github.com/repos/framgia/fels_176/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fels_176/downloads","issues_url":"https://api.github.com/repos/framgia/fels_176/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fels_176/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fels_176/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fels_176/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fels_176/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fels_176/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fels_176/deployments","created_at":"2016-08-03T09:11:31Z","updated_at":"2016-08-09T06:45:02Z","pushed_at":"2016-08-18T03:49:51Z","git_url":"git://github.com/framgia/fels_176.git","ssh_url":"git@github.com:framgia/fels_176.git","clone_url":"https://github.com/framgia/fels_176.git","svn_url":"https://github.com/framgia/fels_176","homepage":null,"size":304,"stargazers_count":0,"watchers_count":0,"language":null,"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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fels_176/pulls/18"},"html":{"href":"https://github.com/framgia/fels_176/pull/18"},"issue":{"href":"https://api.github.com/repos/framgia/fels_176/issues/18"},"comments":{"href":"https://api.github.com/repos/framgia/fels_176/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fels_176/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fels_176/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fels_176/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fels_176/statuses/5cf8a22eb11d4de7a971b7a2f2c2bed648d0277d"}}}}
{"actor":{"display_login":"tranluan91"}}