mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-15 18:08:23 -07:00
Correct form name to smtp_email to fix matching in InstallForm struct.
This commit is contained in:
parent
7666e2256b
commit
e680faf0d8
@ -7,7 +7,7 @@
|
|||||||
</h3>
|
</h3>
|
||||||
<div class="ui attached segment">
|
<div class="ui attached segment">
|
||||||
{{template "base/alert" .}}
|
{{template "base/alert" .}}
|
||||||
|
|
||||||
<form class="ui form" action="{{AppSubUrl}}/install" method="post">
|
<form class="ui form" action="{{AppSubUrl}}/install" method="post">
|
||||||
{{.CsrfTokenHtml}}
|
{{.CsrfTokenHtml}}
|
||||||
|
|
||||||
@ -123,8 +123,8 @@
|
|||||||
<span class="help">{{.i18n.Tr "install.smtp_from_helper"}}</span>
|
<span class="help">{{.i18n.Tr "install.smtp_from_helper"}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="inline field {{if .Err_SMTPEmail}}error{{end}}">
|
<div class="inline field {{if .Err_SMTPEmail}}error{{end}}">
|
||||||
<label for="smtp_user">{{.i18n.Tr "install.mailer_user"}}</label>
|
<label for="smtp_email">{{.i18n.Tr "install.mailer_user"}}</label>
|
||||||
<input id="smtp_user" name="smtp_user" value="{{.smtp_user}}">
|
<input id="smtp_email" name="smtp_email" value="{{.smtp_email}}">
|
||||||
</div>
|
</div>
|
||||||
<div class="inline field">
|
<div class="inline field">
|
||||||
<label for="smtp_passwd">{{.i18n.Tr "install.mailer_password"}}</label>
|
<label for="smtp_passwd">{{.i18n.Tr "install.mailer_password"}}</label>
|
||||||
@ -144,7 +144,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="ui accordion optional field">
|
<div class="ui accordion optional field">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<i class="icon dropdown"></i>
|
<i class="icon dropdown"></i>
|
||||||
|
Loading…
Reference in New Issue
Block a user