File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 4343 <div class="ui list flex-items-block">
4444 {{if $.EnableNotifyMail}}
4545 <div class="item">
46- <div class="tw-mb-2">{{ctx.Locale.Tr "settings.email_desc"}}</div>
47- <form action="{{AppSubUrl}}/user/settings/account/email" class="ui form" method="post">
46+ <form class="ui form tw-w-full" action="{{AppSubUrl}}/user/settings/account/email" method="post">
4847 {{$.CsrfTokenHtml}}
4948 <input name="_method" type="hidden" value="NOTIFICATION">
50- <div class="tw-flex tw-flex-wrap tw-gap-2">
49+ <div class="field">
50+ <label>{{ctx.Locale.Tr "settings.email_desc"}}</label>
5151 <div class="ui selection dropdown">
5252 <input name="preference" type="hidden" value="{{.EmailNotificationsPreference}}">
5353 {{svg "octicon-triangle-down" 14 "dropdown icon"}}
5959 <div data-value="disabled" class="{{if eq .EmailNotificationsPreference "disabled"}}active selected {{end}}item">{{ctx.Locale.Tr "settings.email_notifications.disable"}}</div>
6060 </div>
6161 </div>
62+ </div>
63+ <div class="field">
6264 <button class="ui primary button">{{ctx.Locale.Tr "settings.email_notifications.submit"}}</button>
6365 </div>
6466 </form>
You can’t perform that action at this time.
0 commit comments