1) fix Forge_Group to display the label (will raise a bug with Kohana)

2) Change form.html.php to use the group label instead of the name
3) Converted the add photo to explicity set the label of the field (new coding standard)
This commit is contained in:
Tim Almdal
2008-12-14 03:19:31 +00:00
parent 23343fc4f6
commit fc1e7a9333
3 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ class Form_Group_Core extends Forge {
public function __get($key)
{
if ($key == 'type' || $key == 'name')
if ($key == 'type' || $key == 'name' || $key == 'label')
{
return $this->data[$key];
}