回答編集履歴
1
selectに修正
test
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
|
3
3
|
$attributes = array('disabled' => true);
|
4
4
|
|
5
|
-
echo $this->Form->
|
5
|
+
echo $this->Form->select('gender', array('hoge' => 'hoge'), $attributes);
|
6
6
|
|
7
7
|
```
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
-
|
11
|
+
selectタグにdisabled属性をつけて生成してはいかがでしょうか?
|
12
12
|
|
13
13
|
http://book.cakephp.org/2.0/ja/core-libraries/helpers/form.html#FormHelper::radio
|