+ save_form = forms.DocumentTextSaveForm(user=request.user, chunk=chunk, prefix="textsave")
+ try:
+ version = int(request.GET.get('version', None))
+ except:
+ version = None
+ if version:
+ text = chunk.at_revision(version).materialize()
+ else:
+ text = chunk.materialize()