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
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
Close
Hashes for django-materializecss-form-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b86edd3efda9cb498eaa2ca5c2ca6ba18f020264f6c3dea94558e7417d66e6c |
|
MD5 | f964e892d5fe55a3ee789be6d91570f8 |
|
BLAKE2b-256 | a65e87da7221a0395cc58a55b58aa6c546077715d85693b17fd054f6fb860287 |