summaryrefslogtreecommitdiffstats
path: root/templates/repo/create.tmpl
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-07 17:08:21 -0500
committerUnknown <joe2010xtmf@163.com>2014-03-07 17:08:21 -0500
commita2a59f8ad1192d3504abd50b2daf2ebfd97c86ca (patch)
treef18d38149410e483e5108da62512f32ca0c45a8a /templates/repo/create.tmpl
parentba5c7ea7719abbef792e8b9897dcfadf4d54bbab (diff)
downloadgitea-a2a59f8ad1192d3504abd50b2daf2ebfd97c86ca.tar.gz
gitea-a2a59f8ad1192d3504abd50b2daf2ebfd97c86ca.zip
Change /user/profile URL to /user/:username
Diffstat (limited to 'templates/repo/create.tmpl')
-rw-r--r--templates/repo/create.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl
index ffcffb09e3..4c7f4dd272 100644
--- a/templates/repo/create.tmpl
+++ b/templates/repo/create.tmpl
@@ -6,15 +6,15 @@
<div class="form-group">
<label class="col-md-2 control-label">Owner<strong class="text-danger">*</strong></label>
<div class="col-md-8">
- <p class="form-control-static">{{.UserName}}</p>
- <input type="hidden" value="{{.UserId}}" name="userId"/>
+ <p class="form-control-static">{{.SignedUserName}}</p>
+ <input type="hidden" value="{{.SignedUserId}}" name="userId"/>
</div>
</div>
<div class="form-group">
<label class="col-md-2 control-label">Repository<strong class="text-danger">*</strong></label>
<div class="col-md-8">
- <input name="repo" type="text" class="form-control" placeholder="Type your repository name">
+ <input name="repo" type="text" class="form-control" placeholder="Type your repository name" required="required">
<span class="help-block">Great repository names are short and memorable. </span>
</div>
</div>