diff options
author | Unknwon <u@gogs.io> | 2015-07-09 16:10:31 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-07-09 16:10:31 +0800 |
commit | a2a9e151f8e6d0968035b61d034704fb7b34d3e5 (patch) | |
tree | 4e5ef858502ec3af0eefcc5aedc065d402a02513 /templates/install.tmpl | |
parent | b9dc2147b43667d39fd6e61027e84c51aad6485c (diff) | |
download | gitea-a2a9e151f8e6d0968035b61d034704fb7b34d3e5.tar.gz gitea-a2a9e151f8e6d0968035b61d034704fb7b34d3e5.zip |
install - add mail from setting
Diffstat (limited to 'templates/install.tmpl')
-rw-r--r-- | templates/install.tmpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/install.tmpl b/templates/install.tmpl index c66625eed0..ece78859e9 100644 --- a/templates/install.tmpl +++ b/templates/install.tmpl @@ -119,6 +119,11 @@ <label for="smtp_host">{{.i18n.Tr "install.smtp_host"}}</label> <input id="smtp_host" name="smtp_host" value="{{.smtp_host}}"> </div> + <div class="inline field {{if .Err_SMTPFrom}}error{{end}}"> + <label for="smtp_from">{{.i18n.Tr "install.smtp_from"}}</label> + <input id="smtp_from" name="smtp_from" value="{{.smtp_from}}"> + <span class="help">{{.i18n.Tr "install.smtp_from_helper"}}</span> + </div> <div class="inline field {{if .Err_SMTPEmail}}error{{end}}"> <label for="smtp_user">{{.i18n.Tr "install.mailer_user"}}</label> <input id="smtp_user" name="smtp_user" value="{{.smtp_user}}"> |