code: def get_response_dict(self, attrs, context, is_formset):
          
          form_type = "form"
          if is_formset:
              form_type = "formset"
  
          # We take form/formset parameters from attrs if they are set, otherwise we use defaults
          response_dict = {
              '%s_action' % form_type: attrs.get("form_action", ''),
              '%s_method' % form_type: attrs.get("form_method", 'post'),
              '%s_tag' % form_type: attrs.get("form_tag", True),
              '%s_class' % form_type: attrs.get("class", ''),
              '%s_id' % form_type: attrs.get("id", ""),
              '%s_style' % form_type: attrs.get("form_style", None),
              'form_error_title': attrs.get("form_error_title", None),
              'formset_error_title': attrs.get("formset_error_title", None),
              'inputs': attrs.get('inputs', []),
              'is_formset': is_formset,
          }
  
          if context.has_key('csrf_token'):
              response_dict['csrf_token'] = context['csrf_token']
  
          return response_dict
docs: Returns a dictionary with all the parameters necessary to render the form/formset in a template.
          
          :param attrs: Dictionary with the helper's attributes used for rendering the form/formset
          :param context: `django.template.Context` for the node
          :param is_formset: Boolean value. If set to True, indicates we are working with a formset.