File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 4141 </h4>
4242 <div class="ui attached segment">
4343 <div class="ui list flex-items-block">
44- {{if $.EnableNotifyMail}}
45- <div class="tw-mb-4">{{ctx.Locale.Tr "settings.email_desc"}}</div>
46- <form action="{{AppSubUrl}}/user/settings/account/email" class="ui form " method="post">
44+ <div class="item">
45+ {{if $.EnableNotifyMail}}
46+ <form class="ui form tw-w-full" action="{{AppSubUrl}}/user/settings/account/email" method="post">
4747 {{$.CsrfTokenHtml}}
4848 <input name="_method" type="hidden" value="NOTIFICATION">
4949 <div class="field">
50+ <label>{{ctx.Locale.Tr "settings.email_desc"}}</label>
5051 <div class="ui selection dropdown">
5152 <input name="preference" type="hidden" value="{{.EmailNotificationsPreference}}">
5253 {{svg "octicon-triangle-down" 14 "dropdown icon"}}
6061 </div>
6162 </div>
6263 <div class="field">
63- <button class="ui primary button">{{ctx.Locale.Tr "settings.email_notifications.submit"}}</button>
64+ <button class="ui primary button">{{ctx.Locale.Tr "settings.email_notifications.submit"}}</button>
6465 </div>
6566 </form>
66- {{end}}
67+ {{end}}
68+ </div>
6769 {{if not ($.UserDisabledFeatures.Contains "manage_credentials")}}
6870 {{range .Emails}}
6971 <div class="item tw-flex-wrap">
You can’t perform that action at this time.
0 commit comments