Skip to content

Commit 4218404

Browse files
authored
Fix form method/class (#24535)
Fix #24534
1 parent 81d6007 commit 4218404

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/repo/settings/options.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
<td>{{$.locale.Tr "repo.settings.mirror_settings.direction.pull"}}</td>
9292
<td>{{DateTime "full" .Mirror.UpdatedUnix}}</td>
9393
<td class="right aligned">
94-
<form method="post gt-dib">
94+
<form method="post" class="gt-dib">
9595
{{.CsrfTokenHtml}}
9696
<input type="hidden" name="action" value="mirror-sync">
9797
<button class="ui primary tiny button inline text-thin">{{$.locale.Tr "repo.settings.sync_mirror"}}</button>
@@ -169,13 +169,13 @@
169169
<td>{{$.locale.Tr "repo.settings.mirror_settings.direction.push"}}</td>
170170
<td>{{if .LastUpdateUnix}}{{DateTime "full" .LastUpdateUnix}}{{else}}{{$.locale.Tr "never"}}{{end}} {{if .LastError}}<div class="ui red label" data-tooltip-content="{{.LastError}}">{{$.locale.Tr "error"}}</div>{{end}}</td>
171171
<td class="right aligned">
172-
<form method="post gt-dib">
172+
<form method="post" class="gt-dib">
173173
{{$.CsrfTokenHtml}}
174174
<input type="hidden" name="action" value="push-mirror-remove">
175175
<input type="hidden" name="push_mirror_id" value="{{.ID}}">
176176
<button class="ui basic red tiny button inline text-thin">{{$.locale.Tr "remove"}}</button>
177177
</form>
178-
<form method="post gt-dib">
178+
<form method="post" class="gt-dib">
179179
{{$.CsrfTokenHtml}}
180180
<input type="hidden" name="action" value="push-mirror-sync">
181181
<input type="hidden" name="push_mirror_id" value="{{.ID}}">

0 commit comments

Comments
 (0)