app/soc/views/site/docs/edit.py
changeset 285 52e206a6a417
parent 274 56e1c1721299
child 290 2a92b866ed40
equal deleted inserted replaced
284:44abd20296ce 285:52e206a6a417
   276           params=profile.SUBMIT_PROFILE_SAVED_PARAMS)
   276           params=profile.SUBMIT_PROFILE_SAVED_PARAMS)
   277   else: # method == 'GET':
   277   else: # method == 'GET':
   278     # no link name specified, so start with an empty form
   278     # no link name specified, so start with an empty form
   279     form = CreateForm()
   279     form = CreateForm()
   280 
   280 
   281   context.update({'form': form})
   281   context['form'] = form
   282 
   282 
   283   return helper.responses.respond(request, template, context)
   283   return helper.responses.respond(request, template, context)