summaryrefslogtreecommitdiffstats
path: root/templates/repo/create.tmpl
diff options
context:
space:
mode:
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>