Skip to content

Commit 7b438b3

Browse files
mmdoogiezeripathlafriks
authored
Fix form action template substitutions on admin pages (backport #11519) (#11531)
* Fix form action template substitution on admin dashboard * Fix form action template substitution on admin monitoring page Co-authored-by: zeripath <[email protected]> Co-authored-by: Lauris BH <[email protected]>
1 parent 8bde2e9 commit 7b438b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/admin/dashboard.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
{{.i18n.Tr "admin.dashboard.operations"}}
1616
</h4>
1717
<div class="ui attached table segment">
18-
<form method="post" action="{{.AppSubUrl}}/admin">
18+
<form method="post" action="{{AppSubUrl}}/admin">
1919
{{.CsrfTokenHtml}}
2020
<table class="ui very basic table">
2121
<tbody>

templates/admin/monitor.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{{.i18n.Tr "admin.monitor.cron"}}
88
</h4>
99
<div class="ui attached table segment">
10-
<form method="post" action="{{.AppSubUrl}}/admin">
10+
<form method="post" action="{{AppSubUrl}}/admin">
1111
{{.CsrfTokenHtml}}
1212
<table class="ui very basic striped table">
1313
<thead>

0 commit comments

Comments
 (0)