Remove not used 'Copy my MAC' button code

This commit is contained in:
Renato Botelho 2018-08-23 09:42:29 -03:00
parent 6a8b4effa0
commit fe57dfe07a

View File

@ -1888,18 +1888,9 @@ $macaddress = new Form_Input(
['placeholder' => 'xx:xx:xx:xx:xx:xx']
);
$btnmymac = new Form_Button(
'btnmymac',
'Copy My MAC',
null,
'fa-clone'
);
$btnmymac->setAttribute('type','button')->addClass('btn-success btn-sm');
$group = new Form_Group('MAC Address');
$group->add($macaddress);
// $group->add($btnmymac);
$group->setHelp('This field can be used to modify ("spoof") the MAC address of this interface.%s' .
'Enter a MAC address in the following format: xx:xx:xx:xx:xx:xx or leave blank.', '<br />');
$section->add($group);