Skip to content

Commit 689e7e8

Browse files
Fix form action template substitutions on admin pages (#11519)
* Fix form action template substitution on admin dashboard * Fix form action template substitution on admin monitoring page Co-authored-by: techknowlogick <[email protected]>
1 parent 21243bb commit 689e7e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/admin/dashboard.tmpl

+1-1
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

+1-1
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)