diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-02-01 20:42:35 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-02-01 20:42:54 -0500 |
commit | 4994dc3fe9717611a3de4bb27c3da40ab1650e4b (patch) | |
tree | 91555a4816108484775847835e76e46133cc593b /src | |
parent | 7d9c553c917c92e816178ba63c5a50cb1a3b9d74 (diff) | |
download | pfsense-4994dc3fe9717611a3de4bb27c3da40ab1650e4b.zip pfsense-4994dc3fe9717611a3de4bb27c3da40ab1650e4b.tar.gz |
Add missing description field
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/services_captiveportal_mac_edit.php | 11 |
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', |