mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
PropertyModifierRegexReplace: failed to adjust the input fields
This commit is contained in:
parent
b43b8ee5e3
commit
396120a1ce
@ -10,12 +10,12 @@ class PropertyModifierRegexReplace extends PropertyModifierHook
|
|||||||
|
|
||||||
public static function addSettingsFormFields(QuickForm $form)
|
public static function addSettingsFormFields(QuickForm $form)
|
||||||
{
|
{
|
||||||
$form->addElement('text', 'start', array(
|
$form->addElement('text', 'pattern', array(
|
||||||
'label' => 'Start index',
|
'label' => 'Regex pattern',
|
||||||
'required' => true,
|
'required' => true,
|
||||||
));
|
));
|
||||||
$form->addElement('text', 'start', array(
|
$form->addElement('text', 'replacement', array(
|
||||||
'label' => 'End index',
|
'label' => 'Replacement',
|
||||||
'required' => true,
|
'required' => true,
|
||||||
));
|
));
|
||||||
return $form;
|
return $form;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user