Fix inconsistencies in user settings ui (#2901)
This commit is contained in:
parent
f26f4a7e01
commit
4725f91543
|
@ -13,14 +13,14 @@
|
||||||
<form class="ui form" id="delete-form" action="{{.Link}}" method="post">
|
<form class="ui form" id="delete-form" action="{{.Link}}" method="post">
|
||||||
{{.CsrfTokenHtml}}
|
{{.CsrfTokenHtml}}
|
||||||
<input class="fake" type="password">
|
<input class="fake" type="password">
|
||||||
<div class="inline required field {{if .Err_Password}}error{{end}}">
|
<div class="required field {{if .Err_Password}}error{{end}}">
|
||||||
<label for="password">{{.i18n.Tr "password"}}</label>
|
<label for="password">{{.i18n.Tr "password"}}</label>
|
||||||
<input id="password" name="password" type="password" autofocus required>
|
<input id="password" name="password" type="password" autofocus required>
|
||||||
</div>
|
</div>
|
||||||
<div class="ui red button delete-button" data-type="form" data-form="#delete-form">
|
<div class="field">
|
||||||
{{.i18n.Tr "settings.confirm_delete_account"}}
|
<div class="ui red button delete-button" data-type="form" data-form="#delete-form">
|
||||||
</div>
|
{{.i18n.Tr "settings.confirm_delete_account"}}
|
||||||
<div>
|
</div>
|
||||||
<a href="{{AppSubUrl}}/user/forgot_password?email={{.Email}}">{{.i18n.Tr "auth.forgot_password"}}</a>
|
<a href="{{AppSubUrl}}/user/forgot_password?email={{.Email}}">{{.i18n.Tr "auth.forgot_password"}}</a>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
{{.CsrfTokenHtml}}
|
{{.CsrfTokenHtml}}
|
||||||
<div class="required field {{if .Err_OpenID}}error{{end}}">
|
<div class="required field {{if .Err_OpenID}}error{{end}}">
|
||||||
<label for="openid">{{.i18n.Tr "settings.add_new_openid"}}</label>
|
<label for="openid">{{.i18n.Tr "settings.add_new_openid"}}</label>
|
||||||
<input id="openid" name="openid" type="openid" autofocus required>
|
<input id="openid" name="openid" type="text" autofocus required>
|
||||||
</div>
|
</div>
|
||||||
<button class="ui green button">
|
<button class="ui green button">
|
||||||
{{.i18n.Tr "settings.add_openid"}}
|
{{.i18n.Tr "settings.add_openid"}}
|
||||||
|
|
Loading…
Reference in New Issue