Version initiale.
[Portfolio.git] / skins / photo_edit_form.py
1 ##parameters=upload='', edit_metadata=''
2
3 form = context.REQUEST.form
4
5 if upload and \
6 context.photo_edit_control(**form) and \
7 context.setRedirect(context, 'object/view') :
8 return
9
10 if edit_metadata and \
11 context.photo_metadata_edit_control(**form) and \
12 context.setRedirect(context, 'object/view', ajax=form.get('ajax', '')) :
13 return
14
15
16 options = {}
17
18 return context.photo_edit_template(**options)