summaryrefslogtreecommitdiff
path: root/core/views/form.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/views/form.html.php')
-rw-r--r--core/views/form.html.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/views/form.html.php b/core/views/form.html.php
index 86f1e38a..cde80709 100644
--- a/core/views/form.html.php
+++ b/core/views/form.html.php
@@ -17,8 +17,9 @@ if (!function_exists("DrawForm")) {
foreach ($inputs as $input) {
if ($input->type == 'group') {
+
print "$prefix<fieldset>\n";
- print "$prefix <legend>$input->name</legend>\n";
+ print "$prefix <legend>{$input->label}</legend>\n";
print "$prefix <ul>\n";
DrawForm($input->inputs, $level + 2);