diff options
author | Paulo E. Castro <pauloedgarcastro@gmail.com> | 2015-08-13 15:36:44 +0100 |
---|---|---|
committer | Paulo E. Castro <pauloedgarcastro@gmail.com> | 2015-08-13 17:22:19 +0100 |
commit | e680faf0d87bcb200ccd470273824d39456aad11 (patch) | |
tree | ca7ba297e516e6c788febdbc6456ec77b3407b48 | |
parent | 7666e2256b828c828ef7cbf9ef0e5f1008cc7df1 (diff) | |
download | gitea-e680faf0d87bcb200ccd470273824d39456aad11.tar.gz gitea-e680faf0d87bcb200ccd470273824d39456aad11.zip |
Correct form name to smtp_email to fix matching in InstallForm struct.
-rw-r--r-- | templates/install.tmpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/install.tmpl b/templates/install.tmpl index d82a1e4083..30a837f98a 100644 --- a/templates/install.tmpl +++ b/templates/install.tmpl @@ -7,7 +7,7 @@ </h3> <div class="ui attached segment"> {{template "base/alert" .}} - + <form class="ui form" action="{{AppSubUrl}}/install" method="post"> {{.CsrfTokenHtml}} @@ -123,8 +123,8 @@ <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}}"> + <label for="smtp_email">{{.i18n.Tr "install.mailer_user"}}</label> + <input id="smtp_email" name="smtp_email" value="{{.smtp_email}}"> </div> <div class="inline field"> <label for="smtp_passwd">{{.i18n.Tr "install.mailer_password"}}</label> @@ -144,7 +144,7 @@ </div> </div> </div> - + <div class="ui accordion optional field"> <div class="title"> <i class="icon dropdown"></i> |