equal
deleted
inserted
replaced
204 form = request_params['invite_form'](request.POST) |
204 form = request_params['invite_form'](request.POST) |
205 |
205 |
206 if not form.is_valid(): |
206 if not form.is_valid(): |
207 # return the invalid form response |
207 # return the invalid form response |
208 return self._constructResponse(request, entity=None, context=context, |
208 return self._constructResponse(request, entity=None, context=context, |
209 form=form, params=params) |
209 form=form, params=request_params) |
210 |
210 |
211 # collect the cleaned data from the valid form |
211 # collect the cleaned data from the valid form |
212 key_name, form_fields = soc.views.helper.forms.collectCleanedFields(form) |
212 key_name, form_fields = soc.views.helper.forms.collectCleanedFields(form) |
213 |
213 |
214 # get the group entity for which this request is via the scope_path |
214 # get the group entity for which this request is via the scope_path |
492 form = request_params['invite_form'](request.POST) |
492 form = request_params['invite_form'](request.POST) |
493 |
493 |
494 if not form.is_valid(): |
494 if not form.is_valid(): |
495 # return the invalid form response |
495 # return the invalid form response |
496 return self._constructResponse(request, entity=None, context=context, |
496 return self._constructResponse(request, entity=None, context=context, |
497 form=form, params=params) |
497 form=form, params=request_params) |
498 |
498 |
499 # get the group entity for which this request is via the scope_path |
499 # get the group entity for which this request is via the scope_path |
500 group = self._logic.getGroupEntityFromScopePath(params['group_logic'], |
500 group = self._logic.getGroupEntityFromScopePath(params['group_logic'], |
501 kwargs['scope_path']) |
501 kwargs['scope_path']) |
502 |
502 |