From 4994dc3fe9717611a3de4bb27c3da40ab1650e4b Mon Sep 17 00:00:00 2001 From: Stephen Beaver Date: Mon, 1 Feb 2016 20:42:35 -0500 Subject: Add missing description field --- src/usr/local/www/services_captiveportal_mac_edit.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/usr/local/www/services_captiveportal_mac_edit.php b/src/usr/local/www/services_captiveportal_mac_edit.php index e71e6a4..35d796e 100644 --- a/src/usr/local/www/services_captiveportal_mac_edit.php +++ b/src/usr/local/www/services_captiveportal_mac_edit.php @@ -251,13 +251,20 @@ $btnmymac = new Form_Button( $btnmymac->removeClass('btn-primary')->addClass('btn-success btn-sm'); -$group = new Form_Group('MAC controls'); +$group = new Form_Group('MAC Address'); $group->add($macaddress); $group->add($btnmymac); -$group->setHelp('MAC address (6 hex octets separated by colons)'); +$group->setHelp('6 hex octets separated by colons'); $section->add($group); $section->addInput(new Form_Input( + 'descr', + 'Description', + 'text', + $pconfig['descr'] +))->setHelp('You may enter a description here for your reference (not parsed)'); + +$section->addInput(new Form_Input( 'bw_up', 'Bandwidth up', 'text', -- cgit v1.1