aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/settings/options.tmpl
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2019-04-12 21:52:57 +0100
committerGitHub <noreply@github.com>2019-04-12 21:52:57 +0100
commitb3e757a06c2cfc554c7db0e2da170b123404f058 (patch)
treeb5ff24cc87a1a51308132a11b192d459d1c6f957 /templates/repo/settings/options.tmpl
parent01e0408fa1bf01094c40887ed8d58992459e3ba4 (diff)
downloadgitea-b3e757a06c2cfc554c7db0e2da170b123404f058.tar.gz
gitea-b3e757a06c2cfc554c7db0e2da170b123404f058.zip
Correctly adjust mirror url (#6593)
Diffstat (limited to 'templates/repo/settings/options.tmpl')
-rw-r--r--templates/repo/settings/options.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl
index 7e25206c9d..25120fcb9f 100644
--- a/templates/repo/settings/options.tmpl
+++ b/templates/repo/settings/options.tmpl
@@ -62,7 +62,7 @@
<label for="interval">{{.i18n.Tr "repo.mirror_interval"}}</label>
<input id="interval" name="interval" value="{{.MirrorInterval}}">
</div>
- <div class="field">
+ <div class="field {{if .Err_MirrorAddress}}error{{end}}">
<label for="mirror_address">{{.i18n.Tr "repo.mirror_address"}}</label>
<input id="mirror_address" name="mirror_address" value="{{.Mirror.FullAddress}}" required>
<p class="help">{{.i18n.Tr "repo.mirror_address_desc"}}</p>