29cdd094ca59253ae498f963cb78e8cd3f16529a
1 ##parameters=upload='', edit_metadata=''
3 form
= context
.REQUEST
.form
6 context
.photo_edit_control(**form
) and \
7 context
.setRedirect(context
, 'object/view') :
10 if edit_metadata
and \
11 context
.photo_metadata_edit_control(**form
) and \
12 context
.setRedirect(context
, 'object/view', ajax
=form
.get('ajax', '')) :
18 return context
.photo_edit_template(**options
)