code: def as_uni_errors(form):
      
      if isinstance(form, BaseFormSet):
          template = get_template('uni_form/errors_formset.html')
          c = Context({'formset': form})
      else:
          template = get_template('uni_form/errors.html')
          c = Context({'form':form})
      return template.render(c)
docs: Renders only form errors like django-uni-form::
  
          {% load uni_form_tags %}
          {{ form|as_uni_errors }}