Bladeren bron

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 <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
tags/v1.12.0-rc2
Matthew R. McDougal 4 jaren geleden
bovenliggende
commit
7b438b3566
No account linked to committer's email address
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 1
    1
      templates/admin/dashboard.tmpl
  2. 1
    1
      templates/admin/monitor.tmpl

+ 1
- 1
templates/admin/dashboard.tmpl Bestand weergeven

@@ -15,7 +15,7 @@
{{.i18n.Tr "admin.dashboard.operations"}}
</h4>
<div class="ui attached table segment">
<form method="post" action="{{.AppSubUrl}}/admin">
<form method="post" action="{{AppSubUrl}}/admin">
{{.CsrfTokenHtml}}
<table class="ui very basic table">
<tbody>

+ 1
- 1
templates/admin/monitor.tmpl Bestand weergeven

@@ -7,7 +7,7 @@
{{.i18n.Tr "admin.monitor.cron"}}
</h4>
<div class="ui attached table segment">
<form method="post" action="{{.AppSubUrl}}/admin">
<form method="post" action="{{AppSubUrl}}/admin">
{{.CsrfTokenHtml}}
<table class="ui very basic striped table">
<thead>

Laden…
Annuleren
Opslaan