Importation initiale.
[PlinnDocument.git] / skins / plinndocument_edit_form.py
1 ##parameters=change='', change_and_view='', ajax=''
2
3 form = context.REQUEST.form
4 if change and \
5 context.plinndocument_edit_control(**form) and \
6 context.setRedirect(context, 'object/edit', ajax=ajax) :
7 return
8 elif change_and_view and \
9 context.plinndocument_edit_control(**form) and \
10 context.setRedirect(context, 'object/view', ajax=ajax) :
11 return
12
13 return context.plinndocument_edit_template()