equal
deleted
inserted
replaced
350 entity: the entity that is used |
350 entity: the entity that is used |
351 context: the context to be used |
351 context: the context to be used |
352 form: the form that will be used |
352 form: the form that will be used |
353 """ |
353 """ |
354 |
354 |
355 if entity: |
355 suffix = self._logic.constructKeyNameSuffix(entity) |
356 suffix = self._logic.constructKeyNameSuffix(entity) |
|
357 else: |
|
358 suffix = None |
|
359 |
356 |
360 context['form'] = form |
357 context['form'] = form |
361 context['entity'] = entity |
358 context['entity'] = entity |
362 context['entity_suffix'] = suffix |
359 context['entity_suffix'] = suffix |
363 context['entity_type'] = self._params['name'] |
360 context['entity_type'] = self._params['name'] |