django-uni-form
Project description
[http://djangoproject.com Django] forms are easily rendered as tables, paragraphs, and unordered lists. However, elegantly rendered div based forms is something you have to do by hand. The purpose of this application is to provide a simple tag and/or filter that lets you quickly render forms in a div format.
[http://sprawsm.com/uni-form Uni-form] has been selected as the base model for the design of the forms.
Using django-uni-form
Install as uni_form in your Django apps directory.
- Copy the site_media files in uni_form to your project site_media directory.
uni-form-generic.css uni-form.css uni-form.jquery.js
Add ‘uni_form’ to INSTALLED_APPS in settings.py.
Add ‘{% load uni_form %}’ to the template that calls your form.
Append your form call with the as_uni_form filter:
{{ my_form|as_uni_form }}
Add the class of ‘uniForm’ to your form. Example:
<form action=”” method=”post” class=”uniForm”
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-uni-form-0.3.tar.gz
.
File metadata
- Download URL: django-uni-form-0.3.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a42d55ff9fbfe0caba55de5e99954fd759e176ff1b8bfab9a4f12c7acca5a0d9 |
|
MD5 | 564484aecf8f62a1d53a3915e1344fa6 |
|
BLAKE2b-256 | 326a73091f3f0c362c42435f4734e8f54ca7bbd68f4b7707fe2cb914c2d35404 |