Skip to main content

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

on pypi

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

Basic form

DatePicker

DatePicker

Help

Widget

  • TextInput
  • Textarea
  • Select
  • Filefield
  • DateField

TODO

  • Multiple select

Inspired by

django-bootstrap-form

Project details


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-0.0.63.tar.gz (4.1 kB) Copy SHA256 hash SHA256 Source None Feb 12, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page