Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4e9ab6e

Browse files
authored
Merge pull request studygolang#121 from buguang01/master
个人信息编辑BUG
2 parents fd3bd93 + e1b4c68 commit 4e9ab6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

template/user/edit.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<div class="col-sm-6">
5858
<div class="input-group input-group-sm">
5959
<span class="input-group-addon">https://github.com/</span>
60-
<input type="text" id="github" class="form-control" placeholder="yourname" value="{{.user.Github}}">
60+
<input type="text" id="github" name="github" class="form-control" placeholder="yourname" value="{{.user.Github}}">
6161
</div>
6262
</div>
6363
</div>
@@ -66,7 +66,7 @@
6666
<div class="col-sm-6">
6767
<div class="input-group input-group-sm">
6868
<span class="input-group-addon">http://weibo.com/</span>
69-
<input type="text" id="weibo" class="form-control" placeholder="yourname" value="{{.user.Weibo}}">
69+
<input type="text" id="weibo" name="weibo" class="form-control" placeholder="yourname" value="{{.user.Weibo}}">
7070
</div>
7171
</div>
7272
</div>

0 commit comments

Comments
 (0)