summaryrefslogtreecommitdiff
path: root/core/helpers/photo.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/helpers/photo.php')
-rw-r--r--core/helpers/photo.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/helpers/photo.php b/core/helpers/photo.php
index 749efb87..63845612 100644
--- a/core/helpers/photo.php
+++ b/core/helpers/photo.php
@@ -102,7 +102,7 @@ class photo_Core {
$group->textarea("description")->label(t("Description"));
$group->upload("file")->label(t("File"))->rules("required|allow[jpg,png,gif]");
$group->hidden("type")->value("photo");
- $group->submit(t("Upload"));
+ $group->submit("")->value(t("Upload"));
$form->add_rules_from(ORM::factory("item"));
return $form;
}
@@ -114,7 +114,7 @@ class photo_Core {
$group->input("name")->label(t("Name"))->value($photo->name);
$group->input("title")->label(t("Title"))->value($photo->title);
$group->textarea("description")->label(t("Description"))->value($photo->description);
- $group->submit(t("Modify"));
+ $group->submit("")->value(t("Modify"));
$form->add_rules_from(ORM::factory("item"));
return $form;
}