aboutsummaryrefslogtreecommitdiffstats
path: root/view/photo_edit.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/photo_edit.tpl')
-rw-r--r--view/photo_edit.tpl10
1 files changed, 8 insertions, 2 deletions
diff --git a/view/photo_edit.tpl b/view/photo_edit.tpl
index 7b579492f..e50637578 100644
--- a/view/photo_edit.tpl
+++ b/view/photo_edit.tpl
@@ -1,11 +1,17 @@
-<form action="photos" method="post" id="photo_edit_form" >
+<form action="photos/$id" method="post" id="photo_edit_form" >
+
+ <input type="hidden" name="item_id" value="$item_id" />
<label id="photo-edit-caption-label" for="photo-edit-caption">$capt_label</label>
- <input type="text size="64" name="desc" value="$caption" />
+ <input id="photo-edit-caption" type="text" size="64" name="desc" value="$caption" />
+
+ <div id="photo-edit-caption-end"></div>
<label id="photo-edit-tags-label" for="photo-edit-tags-textarea" >$tag_label</label>
<textarea name="tags" id="photo-edit-tags-textarea">$tags</textarea>
+ <div id="photo-edit-tags-end"></div>
<input type="submit" name="submit" value="$submit" />
+ <div id="photo-edit-end"></div>
</form>