root/vendors/shells/templates/views/form.ctp
| 120 | 237 | ||
|---|---|---|---|
36 | if ($action == 'add' && $field == $primaryKey) { | 36 | if ($action == 'add' && $field == $primaryKey) { |
37 | continue; | 37 | continue; |
38 | } elseif (!in_array($field, array('created', 'modified', 'updated'))) { | 38 | } elseif (!in_array($field, array('created', 'modified', 'updated'))) { |
39 | echo "\t\techo \$form->input('{$field}', array('between' => '<br />'));\n"; | 39 | echo "\t\techo \$form->input('{$field}');\n"; |
40 | } | 40 | } |
41 | } | 41 | } |
42 | 42 | ||
... | ... | ||
45 | 45 | ||
46 | if (!empty($associations['hasAndBelongsToMany'])) { | 46 | if (!empty($associations['hasAndBelongsToMany'])) { |
47 | foreach ($associations['hasAndBelongsToMany'] as $assocName => $assocData) { | 47 | foreach ($associations['hasAndBelongsToMany'] as $assocName => $assocData) { |
48 | echo "\t\techo \$form->input('{$assocName}', array('between' => '<br />'));\n"; | 48 | echo "\t\techo \$form->input('{$assocName}');\n"; |
49 | } | 49 | } |
50 | } | 50 | } |
51 | echo "\t?>\n"; | 51 | echo "\t?>\n"; |
Download diff