diff options
Diffstat (limited to 'view/photo_edit.tpl')
-rw-r--r-- | view/photo_edit.tpl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/view/photo_edit.tpl b/view/photo_edit.tpl index e50637578..176ad3244 100644 --- a/view/photo_edit.tpl +++ b/view/photo_edit.tpl @@ -1,17 +1,19 @@ -<form action="photos/$id" method="post" id="photo_edit_form" > +<form action="photos/$resource_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 id="photo-edit-caption" type="text" size="64" name="desc" value="$caption" /> + <input id="photo-edit-caption" type="text" size="84" 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> + <textarea name="tags" id="photo-edit-tags-textarea" rows="3" cols="64" >$tags</textarea> <div id="photo-edit-tags-end"></div> - <input type="submit" name="submit" value="$submit" /> + <input id="photo-edit-submit-button" type="submit" name="submit" value="$submit" /> + <input id="photo-edit-delete-button" type="submit" name="delete" value="$delete" onclick="return confirmDelete()"; /> + <div id="photo-edit-end"></div> </form> |