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 <techknowlogick@gitea.io>
This commit is contained in:
parent
21243bb46f
commit
689e7e8831
|
@ -15,7 +15,7 @@
|
||||||
{{.i18n.Tr "admin.dashboard.operations"}}
|
{{.i18n.Tr "admin.dashboard.operations"}}
|
||||||
</h4>
|
</h4>
|
||||||
<div class="ui attached table segment">
|
<div class="ui attached table segment">
|
||||||
<form method="post" action="{{.AppSubUrl}}/admin">
|
<form method="post" action="{{AppSubUrl}}/admin">
|
||||||
{{.CsrfTokenHtml}}
|
{{.CsrfTokenHtml}}
|
||||||
<table class="ui very basic table">
|
<table class="ui very basic table">
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
{{.i18n.Tr "admin.monitor.cron"}}
|
{{.i18n.Tr "admin.monitor.cron"}}
|
||||||
</h4>
|
</h4>
|
||||||
<div class="ui attached table segment">
|
<div class="ui attached table segment">
|
||||||
<form method="post" action="{{.AppSubUrl}}/admin">
|
<form method="post" action="{{AppSubUrl}}/admin">
|
||||||
{{.CsrfTokenHtml}}
|
{{.CsrfTokenHtml}}
|
||||||
<table class="ui very basic striped table">
|
<table class="ui very basic striped table">
|
||||||
<thead>
|
<thead>
|
||||||
|
|
Loading…
Reference in New Issue