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.tmpl10
1 files changed, 7 insertions, 3 deletions
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl
index 97c7945616..09467502e0 100644
--- a/templates/repo/create.tmpl
+++ b/templates/repo/create.tmpl
@@ -22,10 +22,14 @@
</div>
<div class="form-group">
- <label class="col-md-2 control-label">Visibility<strong class="text-danger">*</strong></label>
+ <label class="col-md-2 control-label">Visibility</label>
<div class="col-md-8">
- <p class="form-control-static">Public</p>
- <input type="hidden" value="public" name="visibility"/>
+ <div class="checkbox">
+ <label>
+ <input type="checkbox" name="private" {{if .private}}checked{{end}}>
+ <strong>This repository is private</strong>
+ </label>
+ </div>
</div>
</div>