diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-11 01:32:36 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-11 01:32:36 -0400 |
commit | fdc4151ff3f97df69788c69f8136b1c1be49b29f (patch) | |
tree | c5b0af07d7ed9e24cb82c11555e5fe6ec79d82bf /templates/repo/create.tmpl | |
parent | e9b71c88d7782ae894139db584f95582600e7e29 (diff) | |
download | gitea-fdc4151ff3f97df69788c69f8136b1c1be49b29f.tar.gz gitea-fdc4151ff3f97df69788c69f8136b1c1be49b29f.zip |
Finish create repo
Diffstat (limited to 'templates/repo/create.tmpl')
-rw-r--r-- | templates/repo/create.tmpl | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl index d8267d7bdc..93d33c8744 100644 --- a/templates/repo/create.tmpl +++ b/templates/repo/create.tmpl @@ -40,11 +40,7 @@ <div class="col-md-8"> <select class="form-control" name="language"> <option value="">Select a language</option> - <option value="ActionScript">ActionScript</option> - <option value="C#">C#</option> - <option value="Google Go">Google Go</option> - <option value="Java">Java</option> - <option value="PHP">PHP</option> + {{range .LanguageIgns}}<option value="{{.}}">{{.}}</option>{{end}} </select> </div> </div> @@ -54,10 +50,7 @@ <div class="col-md-8"> <select class="form-control" name="license"> <option value="">Select a license</option> - <option value="mit">MIT</option> - <option value="gpl">GPL</option> - <option value="apache">Apache License</option> - <option value="bsd">BSD</option>go + {{range .Licenses}}<option value="{{.}}">{{.}}</option>{{end}} </select> </div> </div> @@ -66,7 +59,7 @@ <div class="col-md-8 col-md-offset-2"> <div class="checkbox"> <label> - <input type="checkbox" value="" name="initReadme"> + <input type="checkbox" name="initReadme"> <strong>Initialize this repository with a README</strong> </label> </div> |