From 8bd7b4524878edf84743930f48f27b7e037acdff Mon Sep 17 00:00:00 2001 From: Christophe Vandeplas Date: Thu, 26 Apr 2012 11:15:12 +0200 Subject: [PATCH] Fixes issue 66 - https://code.lab.modiss.be/p/cydefsig/issues/66/ --- app/View/Attributes/add.ctp | 1 + app/View/Attributes/edit.ctp | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/View/Attributes/add.ctp b/app/View/Attributes/add.ctp index e50cf40f6..8f89f18e3 100755 --- a/app/View/Attributes/add.ctp +++ b/app/View/Attributes/add.ctp @@ -22,6 +22,7 @@ 'label' => 'IDS Signature?' )); echo $this->Form->input('value', array( + 'type' => 'textarea', 'error' => array('escape' => false), )); echo $this->Form->input('batch_import', array( diff --git a/app/View/Attributes/edit.ctp b/app/View/Attributes/edit.ctp index c0d7d69cb..884d3719f 100755 --- a/app/View/Attributes/edit.ctp +++ b/app/View/Attributes/edit.ctp @@ -25,7 +25,10 @@ echo $this->Form->hidden('value'); echo "
Value: ".$this->Form->value('Attribute.value'); } else { - echo $this->Form->input('value'); + echo $this->Form->input('value', array( + 'type' => 'textarea', + 'error' => array('escape' => false), + )); } ?>