summaryrefslogtreecommitdiff
path: root/resources/views/modules/statistics-chart/custom.phtml
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-10-25 08:17:47 +0100
committerGreg Roach <fisharebest@webtrees.net>2019-10-25 08:17:47 +0100
commit8fa10296f379d50098f57cb159e098c429813f7f (patch)
treebd9c149246fb0cf029464a11b450b95f8baa464e /resources/views/modules/statistics-chart/custom.phtml
parent65aec46650b6f9e80a65eb0de2621e486325b1ee (diff)
downloadwebtrees-8fa10296f379d50098f57cb159e098c429813f7f.tar.gz
webtrees-8fa10296f379d50098f57cb159e098c429813f7f.tar.bz2
webtrees-8fa10296f379d50098f57cb159e098c429813f7f.zip
Fix: #2680 - Update routing for custom charts
Diffstat (limited to 'resources/views/modules/statistics-chart/custom.phtml')
-rw-r--r--resources/views/modules/statistics-chart/custom.phtml4
1 files changed, 1 insertions, 3 deletions
diff --git a/resources/views/modules/statistics-chart/custom.phtml b/resources/views/modules/statistics-chart/custom.phtml
index 8edbd0fa8a..d687477a43 100644
--- a/resources/views/modules/statistics-chart/custom.phtml
+++ b/resources/views/modules/statistics-chart/custom.phtml
@@ -10,9 +10,7 @@ use Fisharebest\Webtrees\View;
<?= I18N::translate('Create your own chart') ?>
</h4>
- <form method="get" action="<?= e(route('module', ['module' => $module->name(), 'action' => 'CustomChart'])) ?>" id="own-stats-form" class="wt-page-options wt-page-options-statistics">
- <input type="hidden" name="route" value="<?= e(route('module', ['module' => $module->name(), 'action' => 'CustomChart'])) ?>">
- <input type="hidden" name="tree" value="<?= e($tree->name()) ?>">
+ <form method="get" action="<?= e(route('module', ['module' => $module->name(), 'action' => 'CustomChart', 'tree' => $tree->name()])) ?>" id="own-stats-form" class="wt-page-options wt-page-options-statistics">
<div class="form-group row">
<div class="col-sm-2 wt-page-options-label">
<?= I18N::translate('Chart type') ?>