From e6161837a2a36feb6a4aaf63fa64a04c2c8d624a Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 16 Mar 2015 13:17:52 +0100 Subject: [PATCH] BpConfigForm: name should be readonly on edit --- application/forms/BpConfigForm.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/forms/BpConfigForm.php b/application/forms/BpConfigForm.php index 4029cd2..2f3c8c3 100644 --- a/application/forms/BpConfigForm.php +++ b/application/forms/BpConfigForm.php @@ -82,6 +82,7 @@ class BpConfigForm extends Form { $this->config = $config; $this->getElement('name')->setValue($config->getName()); + $this->getElement('name')->setAttrib('readonly', true); if ($config->hasTitle()) { $this->getElement('title')->setValue($config->getTitle());