diff --git a/app/View/Servers/add.ctp b/app/View/Servers/add.ctp index 034361815..b08fa1444 100755 --- a/app/View/Servers/add.ctp +++ b/app/View/Servers/add.ctp @@ -62,8 +62,22 @@ 'type' => 'file', 'div' => 'clear' )); - echo $this->Form->input('push_rules', array('type' => 'textarea', 'label' => 'Push filters (in JSON format)', 'div' => 'clear', 'class' => 'input-xxlarge')); - echo $this->Form->input('pull_rules', array('type' => 'textarea', 'label' => 'Pull filters (in JSON format)', 'div' => 'clear', 'class' => 'input-xxlarge')); + ?> +
Push rules:
+ + + + + Modify

+ Pull rules:
+ + + + + Modify

+ Form->input('push_rules', array('style' => 'display:none;', 'label' => false, 'div' => false)); + echo $this->Form->input('pull_rules', array('style' => 'display:none;', 'label' => false, 'div' => false)); echo $this->Form->input('json', array('style' => 'display:none;', 'label' => false, 'div' => false)); ?> diff --git a/app/View/Servers/edit.ctp b/app/View/Servers/edit.ctp index 4d3eb1d67..ec8956f38 100755 --- a/app/View/Servers/edit.ctp +++ b/app/View/Servers/edit.ctp @@ -75,17 +75,17 @@ )); ?>
Push rules:
- - - - - Modify

+ + + + + Modify

Pull rules:
- - - - - Modify

+ + + + + Modify

Form->input('push_rules', array('style' => 'display:none;', 'label' => false, 'div' => false)); echo $this->Form->input('pull_rules', array('style' => 'display:none;', 'label' => false, 'div' => false));