summaryrefslogtreecommitdiffstats
path: root/app/view/formctrl.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/view/formctrl.php')
-rw-r--r--app/view/formctrl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/view/formctrl.php b/app/view/formctrl.php
index 663b2d4..1ed1452 100644
--- a/app/view/formctrl.php
+++ b/app/view/formctrl.php
@@ -22,7 +22,7 @@ namespace formctrl;
<?php } ?>
<?php function hidden(string $name, string $value) : void { ?>
- <input type="hidden" name="<?=$name?>" value="<?=$value?>" />
+ <input type="hidden" name="input[<?=$name?>]" value="<?=$value?>" />
<?php } ?>
<?php function text(string $label, string $name, string $value = "", string $placeholder = "",