summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_captiveportal_mac_edit.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-02-01 20:42:35 -0500
committerStephen Beaver <sbeaver@netgate.com>2016-02-01 20:42:54 -0500
commit4994dc3fe9717611a3de4bb27c3da40ab1650e4b (patch)
tree91555a4816108484775847835e76e46133cc593b /src/usr/local/www/services_captiveportal_mac_edit.php
parent7d9c553c917c92e816178ba63c5a50cb1a3b9d74 (diff)
downloadpfsense-4994dc3fe9717611a3de4bb27c3da40ab1650e4b.zip
pfsense-4994dc3fe9717611a3de4bb27c3da40ab1650e4b.tar.gz
Add missing description field
Diffstat (limited to 'src/usr/local/www/services_captiveportal_mac_edit.php')
-rw-r--r--src/usr/local/www/services_captiveportal_mac_edit.php11
1 files changed, 9 insertions, 2 deletions
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',
OpenPOWER on IntegriCloud