diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-10 18:09:57 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-10 18:09:57 -0400 |
commit | 8980675a9f8f8328a81dde63174115c4a11f02a3 (patch) | |
tree | aab77085b8cfe3cfec10839dc1a014f0a569a0b4 /templates/repo/create.tmpl | |
parent | 45462662e9bdb001f1cf3d4ca0e4d679757c7642 (diff) | |
download | gitea-8980675a9f8f8328a81dde63174115c4a11f02a3.tar.gz gitea-8980675a9f8f8328a81dde63174115c4a11f02a3.zip |
Fix #69
Diffstat (limited to 'templates/repo/create.tmpl')
-rw-r--r-- | templates/repo/create.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl index dc509fc1cc..97c7945616 100644 --- a/templates/repo/create.tmpl +++ b/templates/repo/create.tmpl @@ -4,7 +4,7 @@ <form action="/repo/create" method="post" class="form-horizontal card" id="repo-create"> {{.CsrfTokenHtml}} <h3>Create New Repository</h3> - <div class="alert alert-danger form-error{{if .HasError}}{{else}} hidden{{end}}">{{.ErrorMsg}}</div> + {{template "base/alert" .}} <div class="form-group"> <label class="col-md-2 control-label">Owner<strong class="text-danger">*</strong></label> <div class="col-md-8"> |