Django-uni-form provides a filter called as_uni_form, that lets you render a form or formset using django-uni-form elegantly div based fields. The steps are simple:
Add {% load uni_form_tags %} to the template.
Append the as_uni_form filter to your form:
{{ my_form|as_uni_form }}
Add the class of ‘uniForm’ to your form. Example:
<form action="" method="post" class="uniForm">
Refresh and enjoy!
To see this more clearly, let’s see a formset example all together:
{% load uni_form_tags %}
<form method="post" class="uniForm">
{{ my_formset|as_uni_form }}
</form>
Note
In the beginning, this was 100% of the original implementation of this project.
As handy as the as_uni_form filter is, the real advantage of this library are the {% uni_form %} tag. They will change how you do forms in Django.