A simple Django form template tag to work with Materializecss
Project Description
Materializecss for Django Form
A simple Django template tag to work with Materializecss
Install
pip install django-materializecss-form
Add to INSTALLED_APPS:
INSTALLED_APPS = ( 'materializecssform', ... )
Usage
Use it like this, simple.
{% load materializecss %}
All the form
{{ form|materializecss }}
Individual field
{{ form.|materializecss }}
Custom size (default is ‘s12’)
{{ form|materializecss:’m6’ }}
Demo
Basic form
DatePicker
Help
Widget
- TextInput
- Textarea
- Select
- Filefield
- DateField
TODO
- Multiple select
Inspired by
Release history Release notifications
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size & hash SHA256 hash help | File type | Python version | Upload date |
---|---|---|---|
django-materializecss-form-1.0.1.tar.gz (4.1 kB) Copy SHA256 hash SHA256 | Source | None | Jan 18, 2016 |