API templatetags.uni_form_filters

templatetags.uni_form_filters.as_uni_errors(form)[source]
templatetags.uni_form_filters.as_uni_field(field)[source]
templatetags.uni_form_filters.as_uni_form(form)[source]

The original and still very useful way to generate a form.

Usage:

{% load uni_form_filters %}

<form class="uniForm" action="post">
    
    {% csrf_token %}
    
    {{ myform|as_uni_form }}
    
</form>
templatetags.uni_form_filters.uni_form_setup(context)[source]

Creates the <style> and <script> tags needed to initialize the uni-form.

Create a local uni-form/includes.html template if you want to customize how these files are loaded.

Only works with Django 1.3+

Previous topic

API templatetags.uni_form_tags

Next topic

API templatetags.uni_form_field

This Page