diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-11 21:47:39 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-11 21:47:39 -0400 |
commit | 33aa4f74380ab117673a1cc30bead3a7f2b3cb4b (patch) | |
tree | ac6c7c1ebebb86260545386c7ce923593e4d5046 /templates/repo/create.tmpl | |
parent | d6dac160dfcac068b31bda9316ddc3d4919e3288 (diff) | |
download | gitea-33aa4f74380ab117673a1cc30bead3a7f2b3cb4b.tar.gz gitea-33aa4f74380ab117673a1cc30bead3a7f2b3cb4b.zip |
Support private repo
Diffstat (limited to 'templates/repo/create.tmpl')
-rw-r--r-- | templates/repo/create.tmpl | 10 |
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> |